[tryton-debian-vcs] tryton-server branch debian updated. debian/4.4.2-1-1-g066d7e9
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Jul 10 09:48:19 UTC 2017
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/4.4.2-1-1-g066d7e9
commit 066d7e963c105675e040071c825ea65f551c9c60
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 10 11:44:26 2017 +0200
Adapt trytond_log.conf to use correct configparser format.
The logging configuration file now uses
https://docs.python.org/2/library/logging.config.html#configuration-file-format
Thanks to Jean-Christophe Michel <jc.michel at symetrie.com> for the patch.
diff --git a/debian/trytond_log.conf b/debian/trytond_log.conf
index 32cbbc3..6b30401 100644
--- a/debian/trytond_log.conf
+++ b/debian/trytond_log.conf
@@ -7,25 +7,24 @@
# and accordingly
# /usr/share/doc/tryton-server-doc/html/topics/logs.html
-[database]
[formatters]
-keys: simple
+keys=simple
[handlers]
-keys: rotate
+keys=rotate
[loggers]
-keys: root
+keys=root
[formatter_simple]
-format: %(asctime)s] %(levelname)s:%(name)s:%(message)s
-datefmt: %a %b %d %H:%M:%S %Y
+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
+class=handlers.TimedRotatingFileHandler
+args=('/var/log/tryton/trytond.log', 'D', 1, 30)
+formatter=simple
[logger_root]
-level: WARNING
-handlers: rotate
+level=DEBUG
+handlers=rotate
--
tryton-server
More information about the tryton-debian-vcs
mailing list