Actions
Todo #9712
closedTodo #8350: Remove clog in favor of standard syslogd or syslogd alternative with rotation via newsyslog or logrotate
Add code for packages to set their own log rotation parameters
Start date:
08/30/2019
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Description
Currently there is code for log rotation but there isn't a way for packages to influence how that rotation is handled without using their own custom newsyslog config file.
The existing code for logging uses a format in the package info.xml file like this:
<logging> <logsocket>/tmp/haproxy_chroot/var/run/log</logsocket> <facilityname>haproxy</facilityname> <logfilename>haproxy.log</logfilename> </logging>
That needs to be extended to support the rotation parameters mentioned in #9711
Actions