/[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 36 - (show annotations) (download)
Thu Jul 12 11:35:07 2012 UTC (7 years, 7 months ago) by william
File size: 864 byte(s)
+ add logging library (to be shared across application)

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 <logger name="AnywhereTS.ATSAmdin">
17 <level value="ALL"/>
18 <!--<maximumfilesize value="256KB" />-->
19 <param value="ALL" name="Threshold"/>
20 <appender-ref ref="ATSAdmin.exe.logger"/>
21 </logger>
22 </log4net>
23 <startup><supportedRuntime version="v2.0.50727"/></startup></configuration>

  ViewVC Help
Powered by ViewVC 1.1.22