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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (hide annotations) (download)
Mon Jul 16 15:00:20 2012 UTC (9 years, 2 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 william 36 <?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 william 161 <file value="logs\ATSAdmin.exe.log"/>
10 william 36 <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 william 48 <appender type="log4net.Appender.FileAppender" name="TSControlPanel.exe.logger">
17 william 161 <file value="logs\TSControlPanel.exe.log"/>
18 william 48 <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 william 86 <appender type="log4net.Appender.FileAppender" name="Database.logger">
25 william 161 <file value="logs\ATSAdmin.exe.Database.log"/>
26 william 86 <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 william 150 <appender type="log4net.Appender.FileAppender" name="ATSAdmin.Installer.logger">
33 william 168 <file value="logs\ATSAdmin.Installer.log"/>
34 william 147 <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 william 161 <file value="logs\TSControlPanel.Installer.log"/>
42 william 147 <appendToFile value="true"/>
43     <layout type="log4net.Layout.PatternLayout">
44     <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
45     </layout>
46 william 150 </appender>
47 william 147
48 william 165 <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 william 36 <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 william 48 <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 william 150 <logger name="AnywhereTS.DBSupport">
69 william 147 <level value="ALL"/>
70 william 150 <!--<maximumfilesize value="256KB" />-->
71 william 147 <param value="ALL" name="Threshold"/>
72 william 150 <appender-ref ref="Database.logger"/>
73     </logger>
74     <logger name="AnywhereTS.ATSAmdin.Installer">
75     <level value="ALL"/>
76     <param value="ALL" name="Threshold"/>
77 william 147 <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 william 150 </logger>
84 william 165 <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 william 86 </log4net>
95 william 150 <startup>
96     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
97     </startup>
98     </configuration>

  ViewVC Help
Powered by ViewVC 1.1.22