On Wed, Feb 4, 2009 at 9:01 AM, Curtis Hovey <email address hidden> wrote:
> On Tue, 2009-02-03 at 21:42 +0000, Jonathan Lange wrote:
>> We still need a log hander that responds to SIGUSR1 and rotates the log.
>> That should be a separate bug though.
>
> I don't understand what this has to do with configuration. Are you
> requesting that lazr.config define the SIGs as enums for the application
> to use? That may be useful. I don't know of any apps that configure
> actions to SIGs.
>
It's not part of config. It's part of doing logging right.
Handling SIGHUP (not SIGUSR1, my bad) is the Right Way to do log rotation.
On Wed, Feb 4, 2009 at 9:01 AM, Curtis Hovey <email address hidden> wrote:
> On Tue, 2009-02-03 at 21:42 +0000, Jonathan Lange wrote:
>> We still need a log hander that responds to SIGUSR1 and rotates the log.
>> That should be a separate bug though.
>
> I don't understand what this has to do with configuration. Are you
> requesting that lazr.config define the SIGs as enums for the application
> to use? That may be useful. I don't know of any apps that configure
> actions to SIGs.
>
It's not part of config. It's part of doing logging right.
Handling SIGHUP (not SIGUSR1, my bad) is the Right Way to do log rotation.
jml