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

Contents of /trunk/TSAdminTool/app.config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations) (download)
Thu Jul 12 11:05:02 2012 UTC (8 years, 3 months ago) by william
File size: 1339 byte(s)
+ setup app.config for multiple loggers

1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <configSections>
4 </configSections>
5 <connectionStrings>
6 <!--connectionString="Data Source=.\SQLEXPRESS;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"-->
7 <add name="AnywhereTS.Properties.Settings.atsConnectionString"
8 connectionString="Data Source=10.0.0.4\CORPORATEDB;Database='AnywhereTS';Integrated Security=SSPI;Connect Timeout=30;User Instance=False"
9 providerName="System.Data.SqlClient" />
10 </connectionStrings>
11
12 <configSections>
13 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
14 </configSections>
15
16 <log4net>
17 <appender type="log4net.Appender.FileAppender" name="ATSAdmin.exe.logger">
18 <file value="ATSAdmin.exe.log" />
19 <appendToFile value="true" />
20 <layout type="log4net.Layout.PatternLayout">
21 <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
22 </layout>
23 </appender>
24
25 <logger name="ATSAdmin">
26 <level value="ALL" />
27 <!--<maximumfilesize value="256KB" />-->
28 <param value="ALL" name="Threshold" />
29 <appender-ref ref="ATSAdmin.exe.logger" />
30 </logger>
31 </log4net>
32 </configuration>

  ViewVC Help
Powered by ViewVC 1.1.22