PageRenderTime 205ms CodeModel.GetById 89ms app.highlight 1ms RepoModel.GetById 113ms app.codeStats 0ms

/packages/log4net.samples.rollingfileappender.1.0/content/web.config.transform

http://github.com/teamaton/toolbelt
Unknown | 25 lines | 22 code | 3 blank | 0 comment | 0 complexity | 528172af6adeb125f809820a8a425042 MD5 | raw file
 1<configuration>
 2
 3  <configSections>
 4    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
 5  </configSections>
 6
 7  <log4net>
 8    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
 9      <threshold value="All" />
10      <file value="C:\LogFile" />
11      <appendToFile value="true" />
12      <rollingStyle value="Date" />
13      <datePattern value="'.'yyyyMMdd'.log.txt'" />
14      <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
15      <layout type="log4net.Layout.PatternLayout">
16        <conversionPattern value="%date %-5level %logger - %message%newline" />
17      </layout>
18    </appender>
19    <root>
20      <level value="ALL" />
21      <appender-ref ref="RollingLogFileAppender" />
22    </root>
23  </log4net>
24
25</configuration>