[Icecast] log rotation
Milton Huang
mph at emotrics.com
Fri Mar 25 23:24:18 UTC 2022
I've been having some issues on a new server I set up with the names of my
access.log and error.log files. I use the default names
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
And the logs are created properly, but with names access.log.1
and error.log.1. access.log and error.log are present, but always zero
length. This didn't happen with my last server (although that was with
version 2.4.4 and I'm now using source compiled 2.4.99.2 adding in Commit
52634884 that Fixes EPIPEs on TLS clients). The only other change was I
added a line:
delaycompress
to the logrotate.d/icecast file as I need to be able to read the last two
files and didn't want error.log.1 to be compressed. Is this a bug, or am I
missing something basic about log rotation?
-milton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220325/4f149c86/attachment.htm>
More information about the Icecast
mailing list