/[AnywhereTS-MSSQL]/trunk/AnywhereTS.Logging/App.config
ViewVC logotype

Contents of /trunk/AnywhereTS.Logging/App.config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations) (download)
Fri Jul 13 21:13:27 2012 UTC (8 years ago) by william
File size: 2033 byte(s)
+ Admin: add referens to DBSupport
+ add logging support for database

1 <?xml version="1.0"?>
2 <configuration>
3 <configSections>
4 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
5 </configSections>
6
7 <log4net>
8 <appender type="log4net.Appender.FileAppender" name="ATSAdmin.exe.logger">
9 <file value="ATSAdmin.exe.log"/>
10 <appendToFile value="true"/>
11 <layout type="log4net.Layout.PatternLayout">
12 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
13 </layout>
14 </appender>
15
16 <appender type="log4net.Appender.FileAppender" name="TSControlPanel.exe.logger">
17 <file value="TSControlPanel.exe.log"/>
18 <appendToFile value="true"/>
19 <layout type="log4net.Layout.PatternLayout">
20 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
21 </layout>
22 </appender>
23
24 <appender type="log4net.Appender.FileAppender" name="Database.logger">
25 <file value="Database.log"/>
26 <appendToFile value="true"/>
27 <layout type="log4net.Layout.PatternLayout">
28 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
29 </layout>
30 </appender>
31
32 <logger name="AnywhereTS.ATSAmdin">
33 <level value="ALL"/>
34 <!--<maximumfilesize value="256KB" />-->
35 <param value="ALL" name="Threshold"/>
36 <appender-ref ref="ATSAdmin.exe.logger"/>
37 </logger>
38 <logger name="AnywhereTS.TSControlPanel">
39 <level value="ALL"/>
40 <!--<maximumfilesize value="256KB" />-->
41 <param value="ALL" name="Threshold"/>
42 <appender-ref ref="TSControlPanel.exe.logger"/>
43 </logger>
44 </log4net>
45 <logger name="AnywhereTS.DBSupport">
46 <level value="ALL"/>
47 <!--<maximumfilesize value="256KB" />-->
48 <param value="ALL" name="Threshold"/>
49 <appender-ref ref="Database.logger"/>
50 </logger>
51 </log4net>
52 <startup><supportedRuntime version="v2.0.50727"/></startup></configuration>

  ViewVC Help
Powered by ViewVC 1.1.22