[tryton-debian] log file conf

Mathias Behrle mathiasb at m9s.biz
Mon Jul 10 09:49:57 UTC 2017


* Jean-Christophe Michel: " [tryton-debian] log file conf" (Sun, 9 Jul 2017
  15:33:20 +0200):

> Hi Mathias,
> 
> 
> I corrected the default log file generated in /etc/tryton/trytond_log.conf :
> — there was a useless [database] on top
> — all key/values pairs were separated by ‘: ‘ instead of ‘=‘
> 
> here is the corrected one:
> 
> # /etc/tryton/trytond.conf - Logging configuration file for Tryton Server
> (trytond) #
> # This file contains settings for trytond to rotate logs daily and
> # to keep 30 logs.
> # For more information install the tryton-server-doc package and read
> # /usr/share/doc/tryton-server-doc/html/index.html
> # and accordingly
> # /usr/share/doc/tryton-server-doc/html/topics/logs.html
> 
> [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=DEBUG
> handlers=rotate
> 
> 
> Jean-Christophe Michel
> 
> _______________________________________________
> tryton-debian mailing list
> tryton-debian at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tryton-debian

Thansk a lot, fixed in git:
https://anonscm.debian.org/cgit/tryton/tryton-server.git/commit/?id=066d7e963c105675e040071c825ea65f551c9c60


-- 

    Mathias Behrle
    PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
    AC29 7E5C 46B9 D0B6 1C71  7681 D6D0 9BE4 8405 BBF6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 867 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/tryton-debian/attachments/20170710/b6ea95b2/attachment.sig>


More information about the tryton-debian mailing list