/[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 186 - (show annotations) (download)
Mon Jul 16 15:00:20 2012 UTC (7 years, 11 months ago) by william
File size: 3944 byte(s)
+ major fix to logging (all logs write to their respective logs and also get written into a single log)

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="logs\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="logs\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="logs\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="logs\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="logs\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 <appender type="log4net.Appender.FileAppender" name="wizard.logger">
49 <file value="logs\wizard.log"/>
50 <appendToFile value="true"/>
51 <layout type="log4net.Layout.PatternLayout">
52 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
53 </layout>
54 </appender>
55
56 <logger name="AnywhereTS.ATSAmdin">
57 <level value="ALL"/>
58 <!--<maximumfilesize value="256KB" />-->
59 <param value="ALL" name="Threshold"/>
60 <appender-ref ref="ATSAdmin.exe.logger"/>
61 </logger>
62 <logger name="AnywhereTS.TSControlPanel">
63 <level value="ALL"/>
64 <!--<maximumfilesize value="256KB" />-->
65 <param value="ALL" name="Threshold"/>
66 <appender-ref ref="TSControlPanel.exe.logger"/>
67 </logger>
68 <logger name="AnywhereTS.DBSupport">
69 <level value="ALL"/>
70 <!--<maximumfilesize value="256KB" />-->
71 <param value="ALL" name="Threshold"/>
72 <appender-ref ref="Database.logger"/>
73 </logger>
74 <logger name="AnywhereTS.ATSAmdin.Installer">
75 <level value="ALL"/>
76 <param value="ALL" name="Threshold"/>
77 <appender-ref ref="ATSAdmin.Installer.logger"/>
78 </logger>
79 <logger name="AnywhereTS.TSControlPanel.Installer">
80 <level value="ALL"/>
81 <param value="ALL" name="Threshold"/>
82 <appender-ref ref="TSControlPanel.Installer.logger"/>
83 </logger>
84 <logger name="AnywhereTS.Wizard">
85 <level value="ALL"/>
86 <param value="ALL" name="Threshold"/>
87 <appender-ref ref="wizard.logger"/>
88 </logger>
89 <logger name="AnywhereTS.DefaultLogger">
90 <level value="ALL"/>
91 <param value="ALL" name="Threshold"/>
92 <appender-ref ref="default.logger"/>
93 </logger>
94 </log4net>
95 <startup>
96 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
97 </startup>
98 </configuration>

  ViewVC Help
Powered by ViewVC 1.1.22