You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Saksham Srivastava (JIRA)" <ji...@apache.org> on 2014/09/30 13:31:33 UTC

[jira] [Created] (CLOUDSTACK-7657) cloud.log is being rotated by multiple rotation policies on SSVM and CPVM

Saksham Srivastava created CLOUDSTACK-7657:
----------------------------------------------

             Summary: 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)