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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'root': 0.04; 'debug': 0.05; 'subject:file': 0.07; 'subject:skip:c 10': 0.07; 'subject:two': 0.07; 'conf': 0.09; 'level:': 0.09; 'logger': 0.09; 'prevents': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; "'test',": 0.16; 'handlers:': 0.16; 'logger.': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:log': 0.16; 'work.': 0.23; 'this:': 0.23; 'header:User- Agent:1': 0.26; 'looks': 0.26; 'skip:[ 10': 0.26; 'header:X -Complaints-To:1': 0.28; 'changes:': 0.29; 'identifies': 0.29; 'writes:': 0.29; 'file': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'subject:with': 0.36; 'test': 0.36; 'charset:us-ascii': 0.36; 'unable': 0.36; 'being': 0.37; 'passed': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'steele': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Vinay Sajip <vinay_sajip@yahoo.co.uk>
Subject Re: Specifying two log files with one configuration file
Date Wed, 9 Jan 2013 00:57:01 +0000 (UTC)
References <4e6a4b79-5a4a-4e0b-818a-74cb7f0caf94@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host sea.gmane.org
User-Agent Loom/3.14 (http://gmane.org/)
X-Loom-IP 82.152.15.113 (Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.299.1357693038.2939.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357693038 news.xs4all.nl 6958 [2001:888:2000:d::a6]:37467
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36462

Show key headers only | 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