Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1912B17FB3 for ; Wed, 1 Oct 2014 08:49:39 +0000 (UTC) Received: (qmail 67383 invoked by uid 500); 1 Oct 2014 08:49:33 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 67354 invoked by uid 500); 1 Oct 2014 08:49:33 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 67340 invoked by uid 500); 1 Oct 2014 08:49:33 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 67337 invoked by uid 99); 1 Oct 2014 08:49:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 08:49:33 +0000 Date: Wed, 1 Oct 2014 08:49:33 +0000 (UTC) From: "Saksham Srivastava (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-7657) cloud.log is being rotated by multiple rotation policies on SSVM and CPVM 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/CLOUDSTACK-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saksham Srivastava resolved CLOUDSTACK-7657. -------------------------------------------- Resolution: Fixed > cloud.log is being rotated by multiple rotation policies on SSVM and CPVM > ------------------------------------------------------------------------- > > Key: CLOUDSTACK-7657 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7657 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: SystemVM > Reporter: Saksham Srivastava > Assignee: Saksham Srivastava > > cloud.log is being rotated by 2 processes: > 1) Java/log4j which does a size based rotation > 2) Native linux logrotate (/etc/logrotate.d/cloud added by Marcus) which is doing date based rotation. > #ls -alh > rw-rr- 1 root root 206K Sep 30 08:38 cloud.log > rw-rr- 1 root root 0 Sep 30 06:25 cloud.log.1 > rw-rr- 1 root root 9.8M Sep 29 21:12 cloud.log.2 > rw-rr- 1 root root 306K Sep 26 15:07 cloud.log-20140926.gz > rw-rr- 1 root root 285K Sep 27 12:42 cloud.log-20140927.gz > rw-rr- 1 root root 285K Sep 28 11:09 cloud.log-20140928.gz > rw-rr- 1 root root 294K Sep 29 10:05 cloud.log-20140929.gz > rw-rr- 1 root root 9.8M Sep 30 08:24 cloud.log-20140930 > rw-rr- 1 root root 0 Sep 29 06:25 cloud.log.3 > rw-rr- 1 root root 9.8M Sep 28 21:56 cloud.log.4 -- This message was sent by Atlassian JIRA (v6.3.4#6332)