-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.config
31 lines (31 loc) · 1.04 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<runtime>
<gcServer enabled="true"/>
</runtime>
<log4net debug="false">
<root>
<level value="INFO"/>
<appender-ref ref="appender"/>
</root>
<appender name="appender" type="log4net.Appender.RollingFileAppender">
<staticLogFileName value="false"/>
<file value="logs/TreasureMap"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="_yyyy-MM-dd"/>
<layout type="log4net.Layout.PatternLayout">
<header value="
[Start of logging]
"/>
<footer value="[End of logging]

"/>
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss.fff} %-5level %4thread %message %exception %newline"/>
<ignoresException value="false"/>
</layout>
</appender>
</log4net>
</configuration>