How to export a logging level?
Vincent Vande Vyvre
vincent.vandevyvre at swing.be
Tue Sep 25 13:41:38 EDT 2012
Le 25/09/12 19:01, Peter Otten a écrit :
> Vincent Vande Vyvre wrote:
>
>> In my application I import a module and I want to set the same logging
>> level as the main app to this module.
> Isn't that the default? If you set the logging level with basicConfig() that
> level should be applied to all messages.
>
>
Not, only the messages from the main class and the others class that are
in the same module (folder) appears into the console.
Any message from the module imported.
--
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>
More information about the Python-list
mailing list