Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81489 > unrolled thread
| Started by | dieter <dieter@handshake.de> |
|---|---|
| First post | 2014-11-25 07:47 +0100 |
| Last post | 2014-11-25 07:47 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: PYTHON LOGGING with StreamHandler and FileHandler dieter <dieter@handshake.de> - 2014-11-25 07:47 +0100
| From | dieter <dieter@handshake.de> |
|---|---|
| Date | 2014-11-25 07:47 +0100 |
| Subject | Re: PYTHON LOGGING with StreamHandler and FileHandler |
| Message-ID | <mailman.16267.1416898205.18130.python-list@python.org> |
Ganesh Pal <ganesh1pal@gmail.com> writes: > The below program logs all the messages to the log file and displays the > same on the console . > > Please suggest how do I ensure that error and warning log levels go ONLY to > stdout and/or stder You read the handler related documentation of the logging module. When I remember right, you will find there a method allowing you to control which message levels are handled by the the respective handler.
Back to top | Article view | comp.lang.python
csiph-web