Skip to content

agent.log should not be rotated by logrotate #3585

@wido

Description

@wido
ISSUE TYPE
  • Bug Report
COMPONENT NAME
cloudstack-agent
logrotate
CLOUDSTACK VERSION
4.12
OS / ENVIRONMENT

Ubuntu 16.04 / 18.04 hypervisor

SUMMARY

The /var/log/cloudstack/agent/agent.log is rotated by both log4j and logrotate and this causes the agent.log to be filled with binary (gzipped) data.

STEPS TO REPRODUCE

Try to 'grep' for some text in /var/log/cloudstack/agent/agent.log

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions