/[AnywhereTS-MSSQL]/trunk/TSAdminTool/app.config
ViewVC logotype

Diff of /trunk/TSAdminTool/app.config

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/app.config	2012/07/12 10:58:36	34
+++ trunk/TSAdminTool/app.config	2012/07/12 11:05:02	35
@@ -13,20 +13,20 @@
     <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
   </configSections>
 
-  <log4net debug="false">
-    <appender name="ATSAdminLog" type="log4net.Appender.FileAppender,log4net" >
-      <param name="File" value="c:\\hnguyen\\download\\error-log.txt" />
-      <param name="AppendToFile" value="true" />
-      <layout type="log4net.Layout.PatternLayout,log4net">
-        <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />
+  <log4net>
+    <appender type="log4net.Appender.FileAppender" name="ATSAdmin.exe.logger">
+      <file value="ATSAdmin.exe.log" />
+      <appendToFile value="true" />
+      <layout type="log4net.Layout.PatternLayout">
+        <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
       </layout>
     </appender>
-    <root>
-      <priority value="ALL" />
-      <appender-ref ref="ATSAdmin" />
-    </root>
-    <category name="AnywhereTS.ATSAmdinLogger">
-      <priority value="ALL" />
-    </category>
+
+    <logger name="ATSAdmin">
+      <level value="ALL" />
+      <!--<maximumfilesize value="256KB" />-->
+      <param value="ALL" name="Threshold" />
+      <appender-ref ref="ATSAdmin.exe.logger" />
+    </logger>
   </log4net>
 </configuration>
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22