[issue17749] root logging functions break logger configuration

2013-04-16 Thread Vinay Sajip
Vinay Sajip added the comment: No, this behaviour is as expected. The sequence of events: 1. You call setup_logging(), which creates a logger with level DEBUG, and add a file handler to it. 2. You import m2, which calls logging.info(), which adds a handler to the root logger (via basicConfig()

[issue17749] root logging functions break logger configuration

2013-04-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17749] root logging functions break logger configuration

2013-04-16 Thread Fabian
New submission from Fabian: If I get and configure a named logger in the main module and another module that is imported uses the root logging functions (e.g., logging.info("Hello World!")) somehow affects the configuration of the first (named) logger. The file m1.py defines the logger "testlo