markus / FinalService / KCOM_FinalService / FinalProcess / Log.config @ 1305c420
이력 | 보기 | 이력해설 | 다운로드 (1.15 KB)
1 | 1305c420 | taeseongkim | <?xml version="1.0" encoding="utf-8"?> |
---|---|---|---|
2 | <configuration> |
||
3 | <configSections> |
||
4 | <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> |
||
5 | </configSections> |
||
6 | <log4net> |
||
7 | <!--<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender"> |
||
8 | <applicationName value="ServiceStation"/> |
||
9 | <layout type="log4net.Layout.PatternLayout"> |
||
10 | <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> |
||
11 | </layout> |
||
12 | </appender>--> |
||
13 | <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> |
||
14 | <file type="log4net.Util.PatternString" value="${programdata}\FinalService\Process\Log\"/> |
||
15 | <appendtofile value="true"/> |
||
16 | <datepattern value="'Final_'yyyy-MM-dd'.log'"/> |
||
17 | <staticlogfilename value="false"/> |
||
18 | <rollingstyle value="Date"/> |
||
19 | <layout type="log4net.Layout.PatternLayout"> |
||
20 | <conversionpattern value="%d [%t] %-5p - %m%n"/> |
||
21 | </layout> |
||
22 | </appender> |
||
23 | <root> |
||
24 | <level value="All" /> |
||
25 | <!-- <appender-ref ref="EventLogAppender" />--> |
||
26 | <appender-ref ref="RollingFileAppender" /> |
||
27 | </root> |
||
28 | </log4net> |
||
29 | </configuration> |