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


Groups > comp.lang.python > #30114 > unrolled thread

Re: How to export a logging level?

Started byVincent Vande Vyvre <vincent.vandevyvre@swing.be>
First post2012-09-25 19:41 +0200
Last post2012-09-25 19:41 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#30114 — Re: How to export a logging level?

FromVincent Vande Vyvre <vincent.vandevyvre@swing.be>
Date2012-09-25 19:41 +0200
SubjectRe: How to export a logging level?
Message-ID<mailman.1361.1348594900.27098.python-list@python.org>
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>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web