/[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 150 - (show annotations) (download)
Sun Jul 15 11:41:39 2012 UTC (8 years, 11 months ago) by william
File size: 3223 byte(s)
+ fix logging in installer

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="ATSAdmin.exe.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 <appender type="log4net.Appender.FileAppender" name="ATSAdmin.Installer.logger">
33 <file value="ATSAdmin.Installer.log"/>
34 <appendToFile value="true"/>
35 <layout type="log4net.Layout.PatternLayout">
36 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
37 </layout>
38 </appender>
39
40 <appender type="log4net.Appender.FileAppender" name="TSControlPanel.Installer.logger">
41 <file value="TSControlPanel.Installer.log"/>
42 <appendToFile value="true"/>
43 <layout type="log4net.Layout.PatternLayout">
44 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
45 </layout>
46 </appender>
47
48 <logger name="AnywhereTS.ATSAmdin">
49 <level value="ALL"/>
50 <!--<maximumfilesize value="256KB" />-->
51 <param value="ALL" name="Threshold"/>
52 <appender-ref ref="ATSAdmin.exe.logger"/>
53 </logger>
54 <logger name="AnywhereTS.TSControlPanel">
55 <level value="ALL"/>
56 <!--<maximumfilesize value="256KB" />-->
57 <param value="ALL" name="Threshold"/>
58 <appender-ref ref="TSControlPanel.exe.logger"/>
59 </logger>
60 <logger name="AnywhereTS.DBSupport">
61 <level value="ALL"/>
62 <!--<maximumfilesize value="256KB" />-->
63 <param value="ALL" name="Threshold"/>
64 <appender-ref ref="Database.logger"/>
65 </logger>
66 <logger name="AnywhereTS.ATSAmdin.Installer">
67 <level value="ALL"/>
68 <param value="ALL" name="Threshold"/>
69 <appender-ref ref="ATSAdmin.Installer.logger"/>
70 </logger>
71 <logger name="AnywhereTS.TSControlPanel.Installer">
72 <level value="ALL"/>
73 <param value="ALL" name="Threshold"/>
74 <appender-ref ref="TSControlPanel.Installer.logger"/>
75 </logger>
76 </log4net>
77 <startup>
78 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
79 </startup>
80 </configuration>

  ViewVC Help
Powered by ViewVC 1.1.22