Logging handler: No output

Paul Rubin no.email at nospam.invalid
Sun Sep 2 07:30:40 EDT 2012


Florian Lindner <mailinglists at 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.




More information about the Python-list mailing list