No config options for logrotate
Bug #1812950 reported by
Barry Price
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Released
|
High
|
Chi Wai CHAN |
Bug Description
It'd be nice if the charm had a config option that would drop a config snipped into /etc/logrotate.d/ to compress/rotate the contents of /var/log/mysql (I just came across an 8GB error.log).
tags: | added: canonical-is |
Changed in charm-percona-cluster: | |
assignee: | nobody → Chi Wai CHAN (raychan96) |
Changed in charm-percona-cluster: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is indeed a charm bug as we specifically configure the use of ``/var/ log/mysql/ error.log` ` in our templates.
Paraphrasing the logrotate configuration included in the packages: "The error log is obsolete, messages go to syslog now."
I guess we should either update our template to not create the /var/log/ mysql/error. log or add a logrotate config for it.