/[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:52:05	33
+++ trunk/TSAdminTool/app.config	2012/07/12 11:05:02	35
@@ -3,29 +3,30 @@
     <configSections>
     </configSections>
     <connectionStrings>
-        <add name="AnywhereTS.Properties.Settings.atsConnectionString"
-            connectionString="Data Source=.\SQLEXPRESS;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"
-            providerName="System.Data.SqlClient" />
-    </connectionStrings>
+      <!--connectionString="Data Source=.\SQLEXPRESS;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"-->
+      <add name="AnywhereTS.Properties.Settings.atsConnectionString"           
+        connectionString="Data Source=10.0.0.4\CORPORATEDB;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" />
+  <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