karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4078) DailyRollingFileAppender doesn't work as expected
Date Mon, 26 Oct 2015 13:53:27 GMT
Sergey  created KARAF-4078:
------------------------------

             Summary: DailyRollingFileAppender doesn't work as expected
                 Key: KARAF-4078
                 URL: https://issues.apache.org/jira/browse/KARAF-4078
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
    Affects Versions: 3.0.4
            Reporter: Sergey 


Having in mind this logging config:

# File appender
log4j.appender.out=org.apache.log4j.DailyRollingFileAppender
log4j.appender.out.layout=org.apache.log4j.PatternLayout
log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1}
| %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j.appender.out.file=${karaf.data}/log/karaf.log
log4j.appender.out.append=true
log4j.appender.out.maxFileSize=10MB
log4j.appender.out.maxBackupIndex=10

I can see karaf.log file size around 36Gb right now, so this log probably not rolled at max
file size.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message