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


Groups > comp.lang.python > #36462

Re: Specifying two log files with one configuration file

From Vinay Sajip <vinay_sajip@yahoo.co.uk>
Subject Re: Specifying two log files with one configuration file
Date 2013-01-09 00:57 +0000
References <4e6a4b79-5a4a-4e0b-818a-74cb7f0caf94@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.299.1357693038.2939.python-list@python.org> (permalink)

Show all headers | View raw


Peter Steele <pwsteele <at> gmail.com> writes:

> I have been unable to get this to work. My current conf file looks like this:

Try with the following changes:

[logger_test]
level: DEBUG
handlers: test
propagate: 0
qualname: test

The qualname: test is what identifies the logger as the logger named 'test', and
propagate: 0 prevents the test message from being passed up to the root logger.

Regards,

Vinay Sajip

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


Thread

Specifying two log files with one configuration file Peter Steele <pwsteele@gmail.com> - 2013-01-06 11:10 -0800
  Re: Specifying two log files with one configuration file Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-09 00:57 +0000

csiph-web