On Tue, Mar 6, 2012 at 11:19, Vinay Sajip wrote:
> On Mar 6, 4:09 pm, J 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
On Mar 6, 4:09 pm, J 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 pass
Hi,
I'm trying to add a couple log handlers to a program. The end goal is
to log things at INFO or above to console, and if a -v option is set
to ALSO log everything at DEBUG or above to a file. However, while I
DO get the log file created, and log messages are appearing there,
Debug messages ar
Hi.
I have a problem with python.
I dont wanna bother you, but
it's seem you had the same error.
Did you get solve this problem?
I know it's old, but if you remember, tell me.
i'm using python's logging facilities in all of my application modules.
> my logging.conf file is:
> [loggers]
> keys=
HI All,
I am having an app that needs to display a lot of msgs.
These msgs need to kept ina log.
I have written it as :
D
EBUG =1
if DEBUG:
import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)s %(message)s', filena
i'm using python's logging facilities in all of my application modules. my logging.conf file is: [loggers]keys=root [handlers]keys=roth [formatters]keys=simpleFormatter [logger_root]level=DEBUGhandlers=roth [handler_roth]class=handlers.RotatingFileHandlerlevel=DEBUGformatter=simpleFormatterar