Section XIII: OA rights management system (Exceptionless log collection)

Subordinates Exceptionless

Well in advance to download the corresponding package


.NET 4.6.1. If VS has been installed, please ignore.
Http://www.oracle.com/technetwork/java/javase/downloads/index.html the JDK
elasticsearch (elasticsearch v5.5.2) https://www.elastic.co/downloads/elasticsearch (this without having to install, the installation will Exceptionless install their own corresponding Elasticsearch version)
Exceptionless (Exceptionless.4.1.2861) https://github.com/exceptionless/Exceptionless/releases


configuration environment variable: 
JAVA_HOME ... \ the Java \ 10.0.1 the JDK-   
the CLASSPATH:% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ tools.jar
Path added:% JAVA_HOME% \ bin


installation: elasticsearch-6.3.1
run as administrator mode CMD:
... \ elasticsearch-6.3.1 \ bin> elasticsearch.bat
start success: http: // localhost: 9200 /


installation: Exceptionless.4.1.2861
run as administrator CMD way:
PowerShell the Set-ExecutionPolicy Unrestricted


Run:
... \ Exceptionless.4.1.2861> Start.bat
successful start: http: // localhost: 50000 /




New MVC (4.5 FrameWork)
the Install-Package Penalty for Exceptionless.Mvc


configuration file:
<exceptionless apiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" serverUrl = "http: // localhost: 50000 " enabled = "true" /> ( write configuration file does not work !!)
suggested following
the Application_Start () {
ExceptionlessClient.Default.Configuration.ApiKey = "KLlEsIjJCeVcVlAKuoxhHEnfeNsZo73hxrWVha0G";
ExceptionlessClient. = Default.Configuration.ServerUrl "HTTP: // localhost: 50000";
}


.NET CoreMVC
the Install the Package Exceptionless.AspNetCore-
profile:
  "Exceptionless": {
    "apiKey": "gUb2v8AUSPyTtAKmECZqZ03a4EPXX9CV5agTStPP",
    "ServerUrl": "http://localhost:50000"
  }
app.UseExceptionless(Configuration);
 

 

final effect:

 

 

 

 

 

 

 

Published 128 original articles · won praise 18 · views 50000 +

Guess you like

Origin blog.csdn.net/xiaoxionglove/article/details/81048224