Sure thing! Will prepare it tomorrow.

On Sat, 10 Feb 2018 at 21:00, Chris Angelico <ros...@gmail.com> wrote:

> On Sun, Feb 11, 2018 at 7:49 AM, Mario Corchero <marioc...@gmail.com>
> wrote:
> > The recipe as you pointed out works by logging to both (just using
> multiple
> > handlers).
>
> Yep. It's a "forking" setup. What you're proposing is a "splitting"
> setup, which would be a great recipe to put immediately underneath
> that one.
>
> > The objective is to log *up to a level* to stdout and the rest to stderr.
> >
> > See the example console handler here and the filter here.
> >
> > Good point about just adding it to the how-to.
>
> You know, I think BOTH of those are worth adding. Especially the
> filter method, which is pretty concise and easy to build on. Want to
> write up a docs patch?
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to