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

Annotation of /trunk/TSAdminTool/app.config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (hide annotations) (download)
Thu Jul 12 10:52:05 2012 UTC (8 years, 3 months ago) by william
File size: 1212 byte(s)
+ attempt to add log4net support to ATSAdmin

1 william 4 <?xml version="1.0" encoding="utf-8" ?>
2     <configuration>
3     <configSections>
4     </configSections>
5     <connectionStrings>
6     <add name="AnywhereTS.Properties.Settings.atsConnectionString"
7 william 25 connectionString="Data Source=.\SQLEXPRESS;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"
8 william 4 providerName="System.Data.SqlClient" />
9     </connectionStrings>
10 william 33
11     <configSections>
12     <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
13     </configSections>
14    
15     <log4net debug="false">
16     <appender name="ATSAdminLog" type="log4net.Appender.FileAppender,log4net" >
17     <param name="File" value="c:\\hnguyen\\download\\error-log.txt" />
18     <param name="AppendToFile" value="true" />
19     <layout type="log4net.Layout.PatternLayout,log4net">
20     <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />
21     </layout>
22     </appender>
23     <root>
24     <priority value="ALL" />
25     <appender-ref ref="ATSAdmin" />
26     </root>
27     <category name="AnywhereTS.ATSAmdinLogger">
28     <priority value="ALL" />
29     </category>
30     </log4net>
31 william 4 </configuration>

  ViewVC Help
Powered by ViewVC 1.1.22