aa02f2b567
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond?expand=0&rev=211
30 lines
585 B
Plaintext
30 lines
585 B
Plaintext
# /etc/tryton/trytond_log.conf - Logging configuration file for Tryton Server (trytond)
|
|
#
|
|
# Copyright (c) 2016 Mathias Behrle <mbehrle@m9s.biz>
|
|
#
|
|
# This file contains settings for trytond to rotate logs daily and
|
|
# to keep 30 logs.
|
|
|
|
[database]
|
|
[formatters]
|
|
keys=simple
|
|
|
|
[handlers]
|
|
keys=rotate
|
|
|
|
[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/tryton/trytond.log', 'D', 1, 30)
|
|
formatter=simple
|
|
|
|
[logger_root]
|
|
level=INFO
|
|
handlers=rotate
|