Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.033 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'handler': 0.05; 'subject:help': 0.08; 'falls': 0.09; 'handlers': 0.16; 'logger': 0.16; 'received:172.18.0': 0.16; 'subject:Logging': 0.16; 'prevent': 0.16; 'thanks,': 0.17; 'to:name:python- list@python.org': 0.22; 'file.': 0.24; 'file': 0.32; 'charset:us- ascii': 0.36; 'to:addr:python-list': 0.38; 'anything': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:unknown': 0.61; 'levels': 0.65; 'within': 0.65; 'default': 0.69; 'each,': 0.84 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YO+FcVZrxpdWV6Mo6AkY2Rtp7tuV51ZJEd1ZQZEmJbs= c=1 sm=1 a=P90J6pEA2ccA:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=EjeJlE1R12U5gi-qJMUA:9 a=CjuIK1q_8ugA:10 a=V7rIZyiT0N0A:10 a=NWrtTa8qW4wA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 From: "Joseph L. Casale" To: "python-list@python.org" Subject: Logging help Thread-Topic: Logging help Thread-Index: AQHOjvko+rFMHSI0w0G4eaf1htQ1ew== Date: Thu, 1 Aug 2013 20:55:58 +0000 Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1375390631 news.xs4all.nl 15865 [2001:888:2000:d::a6]:39534 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51767 I have a couple handlers applied to a logger for a file and console destina= tion.=0A= Default levels have been set for each, INFO+ to console and anything to fil= e.=0A= =0A= How does one prevent logging.exception from going to a specific handler whe= n=0A= it falls within the desired levels?=0A= =0A= Thanks,=0A= jlc=