@@ -24,26 +24,32 @@ the minLevel on the Exceptionless target to Trace so that you can control log le
24
24
client configuration settings. Also, you can call Configuration.SetDefaultMinLogLevel to control the default
25
25
minimum log level that will be used until the client retrieves settings from the server.
26
26
27
- <nlog>
27
+ <?xml version="1.0" encoding="utf-8" ?>
28
+ <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
29
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
30
+ autoReload="true"
31
+ internalLogLevel="Warn"
32
+ internalLogFile="Logs/internal-nlog.txt">
33
+
28
34
<extensions>
29
- <add assembly="Exceptionless.NLog"/>
30
- </extensions>
31
-
32
- <targets async="true">
33
- <target name="exceptionless" apiKey="API_KEY_HERE" xsi:type="Exceptionless ">
34
- <field name="host" layout="${machinename}" />
35
- <field name="identity" layout="${identity}" />
36
- <field name="windows-identity" layout="${windows-identity:userName=True:domain=False}" />
37
- <field name="process" layout="${processname}" />
38
- </target>
39
- </targets>
40
-
41
- <rules>
42
- <logger name="*" minlevel="Trace" writeTo="exceptionless" />
43
- </rules>
35
+ <add assembly="Exceptionless.NLog"/>
36
+ </extensions>
37
+
38
+ <targets async="true">
39
+ <target xsi:type="Exceptionless" name="exceptionless" apiKey="API_KEY_HERE">
40
+ <field name="host" layout="${machinename}" />
41
+ <field name="identity" layout="${identity}" />
42
+ <field name="windows-identity" layout="${windows-identity:userName=True:domain=False}" />
43
+ <field name="process" layout="${processname}" />
44
+ </target>
45
+ </targets>
46
+
47
+ <rules>
48
+ <logger name="*" minlevel="Trace" writeTo="exceptionless" />
49
+ </rules>
44
50
</nlog>
45
51
46
52
-------------------------------------
47
53
Documentation and Support
48
54
-------------------------------------
49
- Please visit http://exceptionless.io for documentation and support.
55
+ Please visit http://exceptionless.io for documentation and support.
0 commit comments