[IPython-dev] iplogging suggestions added

Fernando Perez fperez.net@gmail....
Tue Dec 14 11:52:09 CST 2010


On Sun, Dec 12, 2010 at 6:49 AM, Robert Kern <robert.kern@gmail.com> wrote:
>
> I'm sorry, but I think you misunderstood my point. You should not add Handlers
> or Formatters inside a library (except for the NullHandler), no matter how you
> accomplish this. The decision of what messages get displayed and how they get
> displayed must be left up to the application author (to set the defaults) and
> the application user (possibly overriding the defaults), not the library author.
> Please reread the section of the logging documentation I pointed out:
>
>   http://docs.python.org/library/logging#configuring-logging-for-a-library
>
> My recommendation is to provide the following:

[...]

Robert, many thanks for the detailed help!

Omar, does this all make sense to you?  Let us know if any of it isn't
clear and we can continue helping you until the code is fit for
merging.

Cheers,

f


More information about the IPython-dev mailing list