Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B5F418D76 for ; Mon, 26 Oct 2015 13:54:28 +0000 (UTC) Received: (qmail 53920 invoked by uid 500); 26 Oct 2015 13:54:28 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 53856 invoked by uid 500); 26 Oct 2015 13:54:28 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 53835 invoked by uid 99); 26 Oct 2015 13:54:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2015 13:54:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BEB1E2C1F5A for ; Mon, 26 Oct 2015 13:54:27 +0000 (UTC) Date: Mon, 26 Oct 2015 13:54:27 +0000 (UTC) From: "Sergey (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-4078) DailyRollingFileAppender doesn't work as expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey updated KARAF-4078: --------------------------- Description: 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. was: 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. > 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)