Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21276
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dreadpiratejeff@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.028 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'passes': 0.05; 'handlers': 0.09; 'jeff': 0.13; 'handlers.': 0.16; 'sajip': 0.16; 'subject:logging': 0.16; 'vinay': 0.16; 'cc:addr:python-list': 0.16; 'subject:Help': 0.17; 'wrote:': 0.18; 'subject:problem': 0.19; '(which': 0.19; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'wrong?': 0.23; 'cc:2**0': 0.26; 'url:mailman': 0.27; "i'm": 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'url:listinfo': 0.32; 'skip:l 30': 0.32; 'tue,': 0.32; 'idea': 0.32; 'test': 0.34; 'setting': 0.34; 'root': 0.34; 'thank': 0.35; 'something': 0.35; 'url:python': 0.35; 'received:209.85.160': 0.36; 'checks': 0.37; 'passed': 0.37; 'received:google.com': 0.37; 'subject:with': 0.37; 'received:209.85': 0.38; 'event': 0.38; 'doing': 0.38; 'should': 0.38; 'received:209.85.160.46': 0.39; 'received:mail-pw0-f46.google.com': 0.39; 'url:org': 0.39; 'received:209': 0.39; 'header:Received:6': 0.61; 'simple': 0.61; 'levels': 0.64; 'anything.': 0.71; 'warning.': 0.84; 'to:addr:yahoo.co.uk': 0.91 |
| Received-SPF | pass (google.com: domain of dreadpiratejeff@gmail.com designates 10.68.223.33 as permitted sender) client-ip=10.68.223.33; |
| Authentication-Results | mr.google.com; spf=pass (google.com: domain of dreadpiratejeff@gmail.com designates 10.68.223.33 as permitted sender) smtp.mail=dreadpiratejeff@gmail.com; dkim=pass header.i=dreadpiratejeff@gmail.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Y90HqmyoX+/3Rc7WlVi5Dv92vZz2dqrVH4ytriA/w/A=; b=WHWY5GgUGFo5/A4WEd+2F+YFnLAy4XhKZ1MioP/HxnVgqMTRhj6SQAGWI12XFpLxC3 tXLrPJMq8SWaV9RcLMy5xgmsgSlNFRsV+d1zzDHpZOL9MfsMFu1cQtxzloDt0aGE07hW MCUWkJuo0rxbHZsWJeZ9lJqQCd8Jh1g3c0VBB1/0f0BOGf5F3Hk3sHUhBHJror34zYEf OtUGzpzinbNiMkMGUP0KpIexDjATtHVazxH+ffCUXn03sLi4Vf+ae3WWgZiutrJ5toqL UjaVtrGQfhjKV8GwZJ0VIpNoLCaEr/X/n6TzcdoYKNEUCB1JP054sECRDmD5mMjs023E J6Nw== |
| MIME-Version | 1.0 |
| In-Reply-To | <c9633d71-4156-405d-9aa5-4e692b973f9c@gi10g2000vbb.googlegroups.com> |
| References | <mailman.430.1331050187.3037.python-list@python.org> <c9633d71-4156-405d-9aa5-4e692b973f9c@gi10g2000vbb.googlegroups.com> |
| From | J <dreadpiratejeff@gmail.com> |
| Date | Tue, 6 Mar 2012 12:03:16 -0500 |
| Subject | Re: Help me with weird logging problem |
| To | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.434.1331053419.3037.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331053419 news.xs4all.nl 6895 [2001:888:2000:d::a6]:35340 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21276 |
Show key headers only | View raw
On Tue, Mar 6, 2012 at 11:19, Vinay Sajip <vinay_sajip@yahoo.co.uk> wrote: > On Mar 6, 4:09 pm, J <dreadpiratej...@gmail.com> wrote: >> >> Any idea what I'm doing wrong? > > Levels can be set on loggers as well as handlers, and you're only > setting levels on the handlers. The default level on the root logger > is WARNING. A logger checks its level first, and only if the event > passes that test will it be passed to the handlers (which will also > perform level tests). > > So, a logger.setLevel(logging.DEBUG) should be all you need to add > before logging anything. > > Regards, > > Vinay Sajip > -- > http://mail.python.org/mailman/listinfo/python-list Thank you very much, Vinay :) I thought it was something simple like that I had overlooked or misunderstood. Cheers, Jeff
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Help me with weird logging problem J <dreadpiratejeff@gmail.com> - 2012-03-06 11:09 -0500
Re: Help me with weird logging problem Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-03-06 08:19 -0800
Re: Help me with weird logging problem J <dreadpiratejeff@gmail.com> - 2012-03-06 12:03 -0500
csiph-web