Line | |
---|
1 | <log4net>
|
---|
2 |
|
---|
3 | <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
---|
4 | <file value="HeuristicLab.log" />
|
---|
5 | <appendToFile value="true" />
|
---|
6 | <rollingStyle value="Size" />
|
---|
7 | <maxSizeRollBackups value="10" />
|
---|
8 | <maximumFileSize value="100KB" />
|
---|
9 | <staticLogFileName value="true" />
|
---|
10 | <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
---|
11 | <layout type="log4net.Layout.PatternLayout">
|
---|
12 | <conversionPattern value="%-4timestamp [%appdomain/%thread] %-5level %logger %ndc - %message%newline%exception" />
|
---|
13 | </layout>
|
---|
14 | </appender>
|
---|
15 |
|
---|
16 | <appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" >
|
---|
17 | <bufferSize value="128" />
|
---|
18 | <lossy value="true" />
|
---|
19 | <evaluator type="log4net.Core.LevelEvaluator">
|
---|
20 | <threshold value="WARN"/>
|
---|
21 | </evaluator>
|
---|
22 | <appender-ref ref="RollingFileAppender" />
|
---|
23 | </appender>
|
---|
24 |
|
---|
25 | <root>
|
---|
26 | <level value="INFO" />
|
---|
27 | <appender-ref ref="BufferingForwardingAppender" />
|
---|
28 | </root>
|
---|
29 |
|
---|
30 | </log4net> |
---|
Note: See
TracBrowser
for help on using the repository browser.