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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Peter Steele 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