You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sergey (JIRA)" <ji...@apache.org> on 2015/10/26 15:16:27 UTC
[jira] [Closed] (KARAF-4078) DailyRollingFileAppender doesn't work
as expected
[ https://issues.apache.org/jira/browse/KARAF-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey closed KARAF-4078.
--------------------------
Resolution: Not A Problem
> 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:
> {code}
> # 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
> {code}
> 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)