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


Groups > comp.lang.python > #28266

Re: Logging handler: No output

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Logging handler: No output
References <mailman.81.1346584357.27098.python-list@python.org>
Date 2012-09-02 04:30 -0700
Message-ID <7xzk58fyqn.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


Florian Lindner <mailinglists@xgm.de> writes:
> The file is being created but stays empty. If I use a print output in the 
> while loop it works, so output is catched and the applications stdout in 
> working. But why the logger proclog catching nothing?

I don't see you setting the log level anyplace in that sample, and
you are logging at INFO and DEBUG levels.  By default, only WARNING
and above only actually produce output.  If you want INFO and DEBUG
to log, you have to request it.

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


Thread

Logging handler: No output Florian Lindner <mailinglists@xgm.de> - 2012-09-02 13:12 +0200
  Re: Logging handler: No output Paul Rubin <no.email@nospam.invalid> - 2012-09-02 04:30 -0700

csiph-web