Subversion Repositories SmartDukaan

Rev

Rev 23604 | Rev 28098 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23604 Rev 23609
Line 13... Line 13...
13
      <FilePattern>/var/log/tomcat7/web/web-%d{yyyy-MM-dd}.log.gz</FilePattern>
13
      <FilePattern>/var/log/tomcat7/web/web-%d{yyyy-MM-dd}.log.gz</FilePattern>
14
      <PatternLayout>
14
      <PatternLayout>
15
        <Pattern>%d{yyyy-MMM-dd HH:mm:ss a} [%t] %-5level %logger{36} - %msg%n</Pattern>
15
        <Pattern>%d{yyyy-MMM-dd HH:mm:ss a} [%t] %-5level %logger{36} - %msg%n</Pattern>
16
      </PatternLayout>
16
      </PatternLayout>
17
      <Policies>
17
      <Policies>
18
        <CronTriggeringPolicy schedule="0 0 2 ? * FRI *"/>
18
        <CronTriggeringPolicy schedule="0 0 2 ? * THU *"/>
19
      </Policies>
19
      </Policies>
20
      <DefaultRolloverStrategy>
20
      <DefaultRolloverStrategy>
21
        <Delete basePath="/var/log/tomcat7/web">
21
        <Delete basePath="/var/log/tomcat7/web">
22
          <IfFileName glob="web-*.log.gz" />
22
          <IfFileName glob="web-*.log.gz" />
23
          <IfLastModified age="7d" />
23
          <IfLastModified age="14d" />
24
        </Delete>
24
        </Delete>
25
      </DefaultRolloverStrategy>
25
      </DefaultRolloverStrategy>
26
    </RollingFile>
26
    </RollingFile>
27
    </Appenders>
27
    </Appenders>
28
  <Loggers>
28
  <Loggers>