Community
Participate
Working Groups
With Hudson 2.2.1 you could use the ALRM signal to tell Hudson to reopen the log file. We used that in our log rotation script that rotated the hudson log file every midnight. With Hudson 3.0.0 a $ kill -ALRM <pid of hudson> results in a "Alarm clock" output on stdout and Hudson is immediately shut down. Could be related with https://bugs.eclipse.org/bugs/show_bug.cgi?id=398313
As you pointed out, I believe this bug is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=398313 When we switch to Jetty Server from Winstone server for the bundled server, I guess we lost the ability to use kill -ALRM <pid of hudson> I will find if it is possible to do the same for Jetty Server also.
It doesn't have to be the ALRM signal but there should be a way to rotate log files without restarting Hudson because Hudson logs can get quite big. :)