Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Tracing/3.3/HeuristicLab.Hive.log4net.xml @ 6071

Last change on this file since 6071 was 3578, checked in by kgrading, 15 years ago

Removed References to HiveLogging and updated the default logging mechanism (#991)

File size: 2.6 KB
Line 
1<log4net>
2 
3  <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
4    <file value="Hive.log" />
5    <appendToFile value="true" />
6    <rollingStyle value="Size" />
7    <maxSizeRollBackups value="10" />
8    <maximumFileSize value="1000KB" />
9    <staticLogFileName value="true" />
10    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
11    <layout type="HeuristicLab.Tracing.MethodCallPatternLayout, HeuristicLab.Tracing-3.2">
12      <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.ffff} %-4timestamp %-5level %logger.%RM - %message%newline%exception" />
13    </layout>
14  </appender>
15
16  <appender name="ServerRollingFileAppender" type="log4net.Appender.RollingFileAppender">
17    <file value="Hive.Server.log" />
18    <appendToFile value="true" />
19    <rollingStyle value="Size" />
20    <maxSizeRollBackups value="10" />
21    <maximumFileSize value="1000KB" />
22    <staticLogFileName value="true" />
23    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
24    <layout type="HeuristicLab.Tracing.MethodCallPatternLayout, HeuristicLab.Tracing-3.2">
25      <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.ffff} %-4timestamp %-5level %logger.%RM - %message%newline%exception" />
26    </layout>
27  </appender>
28
29  <appender name="ClientRollingFileAppender" type="log4net.Appender.RollingFileAppender">
30    <file value="Hive.Client.log" />
31    <appendToFile value="true" />
32    <rollingStyle value="Size" />
33    <maxSizeRollBackups value="10" />
34    <maximumFileSize value="1000KB" />
35    <staticLogFileName value="true" />
36    <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
37    <layout type="HeuristicLab.Tracing.MethodCallPatternLayout, HeuristicLab.Tracing-3.2">
38      <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.ffff} %-4timestamp %-5level %logger.%RM - %message%newline%exception" />
39    </layout>
40  </appender>
41 
42  <appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" >
43    <bufferSize value="128" />
44    <lossy value="true" />
45    <evaluator type="log4net.Core.LevelEvaluator">
46        <threshold value="DEBUG"/>
47    </evaluator>
48    <appender-ref ref="RollingFileAppender" />
49  </appender>
50 
51  <root>
52    <level value="INFO" />
53    <appender-ref ref="BufferingForwardingAppender" />
54  </root>
55
56  <logger name="HeuristicLab.Hive.Server">
57    <level value="DEBUG" />
58    <appender-ref ref="ServerRollingFileAppender" />   
59  </logger>
60
61  <logger name="HeuristicLab.Hive.Client">
62    <level value="DEBUG" />
63    <appender-ref ref="ClientRollingFileAppender" /> 
64  </logger>
65 
66</log4net>
Note: See TracBrowser for help on using the repository browser.