/[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/11 20:39:32	25
+++ trunk/TSAdminTool/app.config	2012/07/12 10:52:05	33
@@ -7,4 +7,25 @@
             connectionString="Data Source=.\SQLEXPRESS;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"
             providerName="System.Data.SqlClient" />
     </connectionStrings>
+
+  <configSections>
+    <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" />
+      </layout>
+    </appender>
+    <root>
+      <priority value="ALL" />
+      <appender-ref ref="ATSAdmin" />
+    </root>
+    <category name="AnywhereTS.ATSAmdinLogger">
+      <priority value="ALL" />
+    </category>
+  </log4net>
 </configuration>
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22