Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.105 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.81; '*S*': 0.03; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:case': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'trying': 0.19; 'fit': 0.20; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; "doesn't": 0.30; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'quite': 0.32; 'problem.': 0.35; 'received:google.com': 0.35; 'operating': 0.37; 'pm,': 0.38; 'either': 0.39; 'even': 0.60; 'new': 0.61; 'you.': 0.62; 'zhang': 0.84; 'task,': 0.91; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=/GQMeqKSAPFMNwscyR5R3oMkkuzkJvU6dKCWQK1oqaw=; b=tH3NWc3LM1mzHihkLXInJUzm2t/FmXVWLp4iPktZIPazaTzqBQL/qSI8gWZPG+De1a TC9t+v9yN72IiQgoVyBNnCWoRmHyvR295yGo/4q3DTEq0SHWrtqo+9F5wRv3TDtblri2 l1Q4KRj1Lo+rbC6DpjxG8tZ4ySJQugWkQvl+3wRtTnamQ+mSdcRjzw0RUeskQtwNRHtd pX+s/se3y9JHHncCcy1mqlUQZHz5qBAfI1VLbzv+KzPTvE+cY6sGJkrJtjptvNd1XB+T pZEc93KSzLYh6Qn8ekklmgm3WYNYwWv3GpcSytGMBQBVyIEIxBzLSniV0ueVRzZImyzX +/xA== MIME-Version: 1.0 X-Received: by 10.66.164.136 with SMTP id yq8mr80367669pab.67.1386154429881; Wed, 04 Dec 2013 02:53:49 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 21:53:49 +1100 Subject: Re: any use case of logging.config.listen()? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 1386154439 news.xs4all.nl 2871 [2001:888:2000:d::a6]:36520 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61009 On Wed, Dec 4, 2013 at 8:09 PM, Zhang Weiwu wrote: > Either case I don't find use of logging.config.listen(), even though I am > looking hard for every way to reuse existing code. > That's not a problem. It's a feature that doesn't quite fit your task, so you don't use it. It's like trying to install an operating system on a new computer and deciding that emacs isn't the one for you. *dives for cover* ChrisA