PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/Logging/web.log4net.config

http://github.com/teamaton/toolbelt
Unknown | 27 lines | 27 code | 0 blank | 0 comment | 0 complexity | 27436bc1f66cb1a43bcc0aae7f01c4fc MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<log4net>
 3	<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
 4		<threshold value="All" />
 5		<file value="log\app.log" />
 6		<appendToFile value="true" />
 7		<rollingStyle value="Date" />
 8		<datePattern value="'.'yyyyMMdd'.log'" />
 9		<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
10		<layout type="log4net.Layout.PatternLayout">
11			<conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.fff}, [T%3thread], %-5level, %logger - %message%newline"/>
12		</layout>
13	</appender>
14	<root>
15		<level value="WARN" />
16		<appender-ref ref="RollingLogFileAppender" />
17	</root>
18	<logger name="Logg">
19		<level value="DEBUG" />
20		<!--Don't specify the same appender here - it is inherited from the root logger.-->
21		<!--<appender-ref ref="RollingLogFileAppender"/>-->
22	</logger>
23	<logger name="Logging.Logg">
24		<level value="INFO" />
25	</logger>
26	<!--Read more here: http://stackoverflow.com/questions/651277/eliminate-duplicate-logging-in-log4net -->
27</log4net>