feat: Add deploy system
This commit is contained in:
26
trytond_worker_logging.conf
Normal file
26
trytond_worker_logging.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
[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_worker.log', 'D', 1, 30)
|
||||
formatter=simple
|
||||
|
||||
[handler_console]
|
||||
class=StreamHandler
|
||||
formatter=simple
|
||||
args=(sys.stdout,)
|
||||
|
||||
[logger_root]
|
||||
level=INFO
|
||||
handlers=rotate,console
|
||||
Reference in New Issue
Block a user