Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30114

Re: How to export a logging level?

Date 2012-09-25 19:41 +0200
From Vincent Vande Vyvre <vincent.vandevyvre@swing.be>
Subject Re: How to export a logging level?
References <5061D8A4.40107@swing.be> <k3so1f$9g2$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.1361.1348594900.27098.python-list@python.org> (permalink)

Show all headers | View raw


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>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to export a logging level? Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2012-09-25 19:41 +0200

csiph-web