lazr-developers team mailing list archive
-
lazr-developers team
-
Mailing list archive
-
Message #00035
Re: [Bug 310774] Re: Standard way of configuring logging
On Wed, Feb 4, 2009 at 9:01 AM, Curtis Hovey <sinzui.is@xxxxxxxxxxx> 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
--
Standard way of configuring logging
https://bugs.launchpad.net/bugs/310774
You received this bug notification because you are a member of LAZR
Developers, which is the registrant for lazr.config.
Status in lazr.config: Fix Released
Bug description:
It's useful to be able to set:
- log file location
- severity level cutoff
- rotation policy
- how often
- how are files renamed
- how many old files are kept
in a configuration file that can be easily edited by sysadmins, rather than in Python code that constructs and assembles logging.Handler objects.
References