On Nov 22, 2:34 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Nov 22, 9:18 am, oj <[EMAIL PROTECTED]> wrote:
>
> Why not apply the same filter to the parent loggers?
Of course, you can apply filters at the loggers or the handlers. The
filters at the logger are checked first. If they pass, then t
On Nov 22, 9:18 am, oj <[EMAIL PROTECTED]> wrote:
> On Nov 22, 5:44 am, Vinay Sajip <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 21, 11:38 am, oj <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I want to setuploggingwith two loggers:
>
> > > The child logger is used when something different needs to
On Nov 22, 5:44 am, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Nov 21, 11:38 am, oj <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I want to setuploggingwith two loggers:
>
> > The child logger is used when something different needs to be done
> > with the log record, and the log record will propa
On Nov 21, 11:38 am, oj <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to setuploggingwith two loggers:
>
> The child logger is used when something different needs to be done
> with the log record, and the log record will propagate and be logged
> by the root logger as usual.
>
> However, there are ce
Paul Rudin wrote:
> oj <[EMAIL PROTECTED]> writes:
>
>> On Nov 21, 11:48 am, Paul Rudin <[EMAIL PROTECTED]> wrote:
>
>>> Loggers have a "propagate" attribute. If you set this to False in the
>>> child then you should get what you want I think.
>>
>> No, because I want message to propagate usuall
oj <[EMAIL PROTECTED]> writes:
> On Nov 21, 11:48 am, Paul Rudin <[EMAIL PROTECTED]> wrote:
>> Loggers have a "propagate" attribute. If you set this to False in the
>> child then you should get what you want I think.
>
> No, because I want message to propagate usually. There are only
> specific i
On Nov 21, 11:48 am, Paul Rudin <[EMAIL PROTECTED]> wrote:
> oj <[EMAIL PROTECTED]> writes:
> > Hi,
>
> > I want to setup logging with two loggers:
>
> > The child logger is used when something different needs to be done
> > with the log record, and the log record will propagate and be logged
> > b
oj <[EMAIL PROTECTED]> writes:
> Hi,
>
> I want to setup logging with two loggers:
>
> The child logger is used when something different needs to be done
> with the log record, and the log record will propagate and be logged
> by the root logger as usual.
>
> However, there are certain times when
Hi,
I want to setup logging with two loggers:
The child logger is used when something different needs to be done
with the log record, and the log record will propagate and be logged
by the root logger as usual.
However, there are certain times when I don't want a log record to
propagate from the