ansible-role-zuul/templates/etc/zuul/gearman-logging.conf
Adam Gandelman 747f3ba540 Migrate config installation from copy -> template
This migrates installation of config files from using 'copy' to 'template',
allowing downstream users of the role the ability to carry a template in their
playbooks and have it easily rendered out simply by overriding the
zuul_file_*_dest variables.

Note, this omits layout.yaml for the time being

Depends-on: I32cc11901bddd03125e1c4ce6f246d811f414cba

Change-Id: I9f5890a54ded2b0169aa76501828e7856e0d6583
2016-10-18 14:16:10 -07:00

40 lines
628 B
Plaintext

[loggers]
keys=root,gear
[handlers]
keys=console,debug,normal
[formatters]
keys=simple
[logger_root]
level=WARNING
handlers=console
[logger_gear]
level=DEBUG
handlers=debug,normal
qualname=gear
[handler_console]
level=WARNING
class=StreamHandler
formatter=simple
args=(sys.stdout,)
[handler_debug]
level=DEBUG
class=logging.handlers.WatchedFileHandler
formatter=simple
args=('/var/log/zuul/gearman-debug.log',)
[handler_normal]
level=WARNING
class=logging.handlers.WatchedFileHandler
formatter=simple
args=('/var/log/zuul/gearman.log',)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=