On Wednesday 13 June 2012 07:27 PM, Jonas Smedegaard wrote:
On 12-06-13 at 06:50pm, Rahul Amaram wrote:
Calendarserver has option to rotate both its log files (access.log
and error.log). However, the log files are not compressed.
Is it necessary to use logrotate or can I just use the log rotation
feature provided by calendarserver? As per
http://www.debian.org/doc/debian-policy/ch-files.html#s10.8, while
rotation of log files is must, usage of logrotate is not.
No, logrotate is not required - if calendarserver handles rotation
itself then just please enable that by default. But since you mention
that old logfiles are not compressed, I would suggest you consider try a
combo: Let calendarserver rotate, and let logrotate compress old ones.
Compressing the log files is likely to break the log rotation performed
by calendarserver. I think it is best to just enable calendarserver log
rotation for now and look at the option of completely switching to
logrotate (and compression) at some point in the future.
--
http://rahul.amaram.name
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]