프로젝트

일반

사용자정보

개정판 77cdac33

ID77cdac33b7bca4641193c97216f85dde1a21cb5e
상위 74abcf6f
하위 a7bee7cf

김태성이(가) 약 3년 전에 추가함

벽산 수정 후 백업

Change-Id: I8e3eb48f615478a49efa0ab4014a8ef17d273d0a

차이점 보기:

KCOM/Log.config
4 4
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
5 5
  </configSections>
6 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}\MARKUS\Log\"/>
15
      <appendtofile value="true"/>
16
      <datepattern value="'yyyy-MM-dd'.log'"/>
17
      <staticlogfilename value="false"/>
18
      <rollingstyle value="Date"/>
19
	  <maxSizeRollBackups value="100"/>
20
	  <maximumFileSize value="100MB"/>
7
     <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
8
      <file type="log4net.Util.PatternString" value="${ALLUSERSPROFILE}\markus\Log\.log"/>
9
      <appendToFile value="true" />
10
      <rollingStyle value="Composite" />
11
      <datePattern value="yyyyMMdd" />
12
      <maxSizeRollBackups value="6" />
13
      <preserveLogFileNameExtension value="true"/>
14
      <staticLogFileName value="false" />
15
      <maximumFileSize value="5MB" />
21 16
      <layout type="log4net.Layout.PatternLayout">
22 17
        <conversionpattern value="%d [%t] %-5p - %m%n"/>
23 18
      </layout>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)