root/branches/TruckExpo/TruckExpoClientComparer/App.config @ 816

Wersja 434, 1.4 KB (wprowadzona przez marek, 17 years temu)

re #111

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <!-- Register a section handler for the log4net section -->
4  <configSections>
5    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
6  </configSections>
7  <log4net>
8    <!-- Define some output appenders -->
9    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
10      <file value="rolling-log.txt" />
11      <appendToFile value="true" />
12      <maxSizeRollBackups value="10" />
13      <maximumFileSize value="100" />
14      <rollingStyle value="Date" />
15      <staticLogFileName value="true" />
16      <layout type="log4net.Layout.PatternLayout">
17        <header value="[Header]&#13;&#10;" />
18        <footer value="[Footer]&#13;&#10;" />
19        <conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
20      </layout>
21    </appender>
22    <root>
23      <level value="DEBUG" />
24      <appender-ref ref="RollingLogFileAppender" />
25    </root>
26  </log4net>
27  <appSettings>
28    <add key="TruckExpo.ConnectionString" value="Data Source=sql.ct.com.pl;Initial Catalog=Truck_Expo_Testowa;Persist Security Info=True;User=stachura;Password=mageroni;"/>
29    <add key="BazaReklam.ConnectionString" value="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True;User=stachura;Password=mageroni;"/>
30  </appSettings>
31</configuration>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.