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


Groups > comp.lang.python > #30112

Re: How to export a logging level?

From Peter Otten <__peter__@web.de>
Subject Re: How to export a logging level?
Date 2012-09-25 19:01 +0200
Organization None
References <5061D8A4.40107@swing.be>
Newsgroups comp.lang.python
Message-ID <mailman.1359.1348592511.27098.python-list@python.org> (permalink)

Show all headers | View raw


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. 

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


Thread

Re: How to export a logging level? Peter Otten <__peter__@web.de> - 2012-09-25 19:01 +0200

csiph-web