Nice! I will have to test this
On 8/9/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
> jay wrote:
> > I have a working solution for this, based largely on what Kent posted.
> > Thought I would post it for others in case your either curious, or need
> > to do this in the future. There are probably
jay wrote:
> I have a working solution for this, based largely on what Kent posted.
> Thought I would post it for others in case your either curious, or need
> to do this in the future. There are probably other ways to do this.
>
> It works quite nicely, though its a lot of repeated
> code if
jay wrote:
> I have a working solution for this, based largely on what Kent posted.
> Thought I would post it for others in case your either curious, or need
> to do this in the future. There are probably other ways to do this.
>
> To add a new level NOTICE for logging to syslog
>
> # Cha
I have a working solution for this, based largely on what Kent posted.
Thought I would post it for others in case your either curious, or need to
do this in the future. There are probably other ways to do this.
To add a new level NOTICE for logging to syslog
# Change the default levels to in
Kent,
Thanks for the suggestion. If will look more into your suggestions, and
also shoot a post over to comp.lang.python.
Jay
On 8/9/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
>
> jay wrote:
> > Hello,
> >
> > I've been using the python logging module a lot lately, and I've come
> > across an
jay wrote:
> Hello,
>
> I've been using the python logging module a lot lately, and I've come
> across an instance where I need some new levels. Specifically, python
> does not include ALERT and NOTICE in the default set of logging levels.
> I am wondering how trivial it would be to extend th
Hello,
I've been using the python logging module a lot lately, and I've come across
an instance where I need some new levels. Specifically, python does not
include ALERT and NOTICE in the default set of logging levels. I am
wondering how trivial it would be to extend the logging module to includ