Skip to content

Commit 41ac24c

Browse files
authored
Update readme.txt
1 parent f36026c commit 41ac24c

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

src/Platforms/Exceptionless.NLog/readme.txt

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,32 @@ the minLevel on the Exceptionless target to Trace so that you can control log le
2424
client configuration settings. Also, you can call Configuration.SetDefaultMinLogLevel to control the default
2525
minimum log level that will be used until the client retrieves settings from the server.
2626

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+
2834
<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>
4450
</nlog>
4551

4652
-------------------------------------
4753
Documentation and Support
4854
-------------------------------------
49-
Please visit http://exceptionless.io for documentation and support.
55+
Please visit http://exceptionless.io for documentation and support.

0 commit comments

Comments
 (0)