2013-03-05 18:38:07 +00:00
|
|
|
[loggers]
|
|
|
|
keys=root
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys=normal,normal_with_name,debug
|
|
|
|
|
|
|
|
[handlers]
|
2013-02-21 05:48:53 +00:00
|
|
|
keys=production,devel
|
2013-03-05 18:38:07 +00:00
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level=WARNING
|
2013-02-21 05:48:53 +00:00
|
|
|
handlers=
|
2013-03-05 18:38:07 +00:00
|
|
|
|
|
|
|
[handler_production]
|
|
|
|
class=handlers.SysLogHandler
|
|
|
|
level=ERROR
|
|
|
|
formatter=normal_with_name
|
|
|
|
args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
|
|
|
|
|
|
|
|
[handler_devel]
|
|
|
|
class=StreamHandler
|
|
|
|
level=NOTSET
|
|
|
|
formatter=debug
|
|
|
|
args=(sys.stdout,)
|
|
|
|
|
|
|
|
[formatter_normal]
|
|
|
|
format=%(asctime)s %(levelname)s %(message)s
|
|
|
|
|
|
|
|
[formatter_normal_with_name]
|
|
|
|
format=(%(name)s): %(asctime)s %(levelname)s %(message)s
|
|
|
|
|
|
|
|
[formatter_debug]
|
|
|
|
format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s
|