cc-2055: switch to init.d
-Change all python apps to log directly to file -change airtime-pypo to airtime-playback -fix airtime install started/completed message bumpers
This commit is contained in:
parent
c05c2f1e28
commit
79e24e5af5
26 changed files with 75 additions and 269 deletions
|
@ -1,33 +1,39 @@
|
|||
[loggers]
|
||||
keys=root,fetch,push
|
||||
keys=root,fetch,push,cue_file
|
||||
|
||||
[handlers]
|
||||
keys=consoleHandler
|
||||
keys=fileOutHandler
|
||||
|
||||
[formatters]
|
||||
keys=simpleFormatter
|
||||
|
||||
[logger_root]
|
||||
level=DEBUG
|
||||
handlers=consoleHandler
|
||||
handlers=fileOutHandler
|
||||
|
||||
[logger_fetch]
|
||||
level=DEBUG
|
||||
handlers=consoleHandler
|
||||
handlers=fileOutHandler
|
||||
qualname=fetch
|
||||
propagate=0
|
||||
|
||||
[logger_push]
|
||||
level=DEBUG
|
||||
handlers=consoleHandler
|
||||
handlers=fileOutHandler
|
||||
qualname=push
|
||||
propagate=0
|
||||
|
||||
[handler_consoleHandler]
|
||||
class=StreamHandler
|
||||
[logger_cue_file]
|
||||
level=DEBUG
|
||||
handlers=fileOutHandler
|
||||
qualname=push
|
||||
propagate=0
|
||||
|
||||
[handler_fileOutHandler]
|
||||
class=logging.handlers.RotatingFileHandler
|
||||
level=DEBUG
|
||||
formatter=simpleFormatter
|
||||
args=(sys.stdout,)
|
||||
args=("/var/log/airtime/pypo/pypo.log", 'a', 1000000, 5,)
|
||||
|
||||
[formatter_simpleFormatter]
|
||||
format=%(asctime)s %(levelname)s - [%(filename)s : %(funcName)s() : line %(lineno)d] - %(message)s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue