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


Groups > comp.lang.python > #61009

Re: any use case of logging.config.listen()?

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 <rosuav@gmail.com>
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 <alpine.DEB.2.10.1312041657450.31882@lyonesse>
References <alpine.DEB.2.10.1312040913510.24501@lyonesse> <l7m661$ctf$1@dont-email.me> <alpine.DEB.2.10.1312041657450.31882@lyonesse>
Date Wed, 4 Dec 2013 21:53:49 +1100
Subject Re: any use case of logging.config.listen()?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3555.1386154439.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Dec 4, 2013 at 8:09 PM, Zhang Weiwu <tristan@realss.com> 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

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


Thread

any use case of logging.config.listen()? Zhang Weiwu <tristan@realss.com> - 2013-12-04 09:34 +0800
  Re: any use case of logging.config.listen()? Dan Sommers <dan@tombstonezero.net> - 2013-12-04 03:05 +0000
    Re: any use case of logging.config.listen()? Zhang Weiwu <tristan@realss.com> - 2013-12-04 17:09 +0800
      Re: any use case of logging.config.listen()? Chris Angelico <rosuav@gmail.com> - 2013-12-04 21:53 +1100

csiph-web