26 lines
No EOL
437 B
Text
26 lines
No EOL
437 B
Text
[formatters]
|
|
keys=simple
|
|
|
|
[handlers]
|
|
keys=rotate,console
|
|
|
|
[loggers]
|
|
keys=root
|
|
|
|
[formatter_simple]
|
|
format=[%(asctime)s] %(levelname)s:%(name)s:%(message)s
|
|
datefmt=%a %b %d %H:%M:%S %Y
|
|
|
|
[handler_rotate]
|
|
class=handlers.TimedRotatingFileHandler
|
|
args=('/var/log/trytond/trytond_cron.log', 'D', 1, 30)
|
|
formatter=simple
|
|
|
|
[handler_console]
|
|
class=StreamHandler
|
|
formatter=simple
|
|
args=(sys.stdout,)
|
|
|
|
[logger_root]
|
|
level=INFO
|
|
handlers=rotate,console |