cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saksham Srivastava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7657) cloud.log is being rotated by multiple rotation policies on SSVM and CPVM
Date Wed, 01 Oct 2014 08:47:33 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154577#comment-14154577
] 

Saksham Srivastava commented on CLOUDSTACK-7657:
------------------------------------------------

Fix is to remove /etc/logrotate.d/cloud from SSVM and CPVM
Only allow log4j rotation  (size based) in SSVM and CPVM. Native log rotation still retained
on VR.
Added the fix in cloud-early-config.

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

Mime
View raw message