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

[jira] [Created] (CLOUDSTACK-7686) No security_group log rotation for KVM agent

Laurent Steff created CLOUDSTACK-7686:
-----------------------------------------

             Summary: No security_group log rotation for KVM agent
                 Key: CLOUDSTACK-7686
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7686
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM
    Affects Versions: 4.2.0
         Environment: KVM agent on CentOS 6
cloudstack rpm installed :
cloudstack-agent-4.2.1-1.el6.x86_64
cloudstack-common-4.2.1-1.el6.x86_64
            Reporter: Laurent Steff
            Priority: Minor


The security_group script 

---
/usr/share/cloudstack-common/scripts/vm/network/security_group.py
---

logs in (by default hardcoded in python):

---
    logging.basicConfig(filename="/var/log/cloudstack/agent/security_group.log", format="%(asctime)s - %(message)s", level=logging.DEBUG)
---

And logrotate is not activated for this file, so it grows forever.

Maybe a logrotate script or documentation for KVM agent installation is missing ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)