Hi,

I have configured for a custom log in pax logging in Karaf as follows and
found the size of the custom log is not restricted to 1 MB and increasing.
Can you please let us know what could be the issue? Thanks in advance

log4j.appender.custom = org.apache.log4j.RollingFileAppender
log4j.appender.custom.append = true
log4j.appender.custom.file = ${karaf.data}/log/custom.log
log4j.appender.custom.layout = org.apache.log4j.PatternLayout
log4j.appender.custom.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss Z} |
%-5.5p | %t | %c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} |
%m%n
log4j.appender.custom.maxBackupIndex = 10
log4j.appender.custom.maxFileSize = 1MB




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to