CC-3411: pypo-notify should write to its own log

-done
This commit is contained in:
Martin Konecny 2012-03-13 16:53:10 -04:00
parent 0b82107d28
commit 1dc9f51c47
2 changed files with 17 additions and 5 deletions

View file

@ -1,8 +1,8 @@
[loggers]
keys=root,fetch,push,recorder,message_h
keys=root,fetch,push,recorder,message_h,notify
[handlers]
keys=pypo,recorder,message_h
keys=pypo,recorder,message_h,notify
[formatters]
keys=simpleFormatter
@ -35,6 +35,18 @@ handlers=message_h
qualname=message_h
propagate=0
[logger_notify]
level=DEBUG
handlers=notify
qualname=notify
propagate=0
[handler_notify]
class=logging.handlers.RotatingFileHandler
level=DEBUG
formatter=simpleFormatter
args=("/var/log/airtime/pypo/notify.log", 'a', 1000000, 5,)
[handler_pypo]
class=logging.handlers.RotatingFileHandler
level=DEBUG