[Pkg-icecast-devel] Bug#585847: Bug#585847: logrotate script does not rotate archived log files

Laurent Bigonville bigon at debian.org
Thu Jun 17 10:25:14 UTC 2010


Le Tue, 15 Jun 2010 00:24:57 +0200,
Romain Beauxis <romain.beauxis at gmail.com> a écrit :

> 	Hi !
> 
> Le lundi 14 juin 2010 12:07:19, Laurent Bigonville a écrit :
> > By default icecast archives logs files (renaming the file to
> > {access,error}.log.date_time) that grows bigger that 10Mb but the
> > logrotate script do not handle this kind of log files.
> > 
> > This could lead to a full /var/log partition.
> 
> Thankd for you report. However, the cron script seems to work here..
> Are you sure this really is a bug of the icecast2 package ?

Well by default icecast rotate the logs itself (move the log file to
*.log.old) and not to *.log.date_time as said (my bad) so
I guess it this case the logrotate script is useless.

Anyway, in the non-default cases (archivelogs set to 1) the files are
archived with their timestamp and in this case, the logrotate script
does nothing.

Cheers

Laurent Bigonville





More information about the Pkg-icecast-devel mailing list