[Icecast] ices2 not re-connecting on live stream
Karl Heyes
karl at xiph.org
Sun Feb 20 23:58:55 UTC 2005
On Sun, 2005-02-20 at 22:50, Frédéric Brière wrote:
> On Sun, Feb 20, 2005 at 08:15:42PM +0000, Karl Heyes wrote:
> > setting <logsize> will cause an automatic log rotation when a certain
> > file size has been reached. It renames <logfile> to <logfile>.1 then
> > opens a new file <logfile>
>
> Since all my other logs are rotated on a daily/weekly basis, I want my
> ices logs to behave in the same way.
>
> Nevertheless, this thread finally gave me the incentive to fix ices so
> that it rotates logs on SIGHUP, which is much nicer. Here's the patch:
>
> (The second LOG_INFO0, apart from verboseness, ensures that the new
> logfile is created right away.)
I'll add this for the next update. HUP shouldn't really do next track,
but adding the log message is probably a good idea. I still need to
commit some changes, including the libshout 2.1 interaction.
karl.
More information about the Icecast
mailing list