/[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 48 - (show annotations) (download)
Thu Jul 12 14:32:21 2012 UTC (8 years ago) by william
File size: 1465 byte(s)
+ add logging support for TSControlPanel

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 <logger name="AnywhereTS.ATSAmdin">
25 <level value="ALL"/>
26 <!--<maximumfilesize value="256KB" />-->
27 <param value="ALL" name="Threshold"/>
28 <appender-ref ref="ATSAdmin.exe.logger"/>
29 </logger>
30 <logger name="AnywhereTS.TSControlPanel">
31 <level value="ALL"/>
32 <!--<maximumfilesize value="256KB" />-->
33 <param value="ALL" name="Threshold"/>
34 <appender-ref ref="TSControlPanel.exe.logger"/>
35 </logger>
36 </log4net>
37 <startup><supportedRuntime version="v2.0.50727"/></startup></configuration>

  ViewVC Help
Powered by ViewVC 1.1.22