diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-20 09:44:05 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-20 09:44:05 +0000 |
commit | 4b9268eb9cb1f8d140f543d9c4a3aa1aa8298994 (patch) | |
tree | 3e6c6e7fda3501b8af7aec03aff10e4e43130859 /mason/share/zuul/logging.conf | |
parent | fab1f7a06fa8a5a6be1fabaec0e565802de498fc (diff) | |
download | definitions-4b9268eb9cb1f8d140f543d9c4a3aa1aa8298994.tar.gz |
Install configuration files in the correct place
Also, have a more sensible default layout.yaml.
Diffstat (limited to 'mason/share/zuul/logging.conf')
-rw-r--r-- | mason/share/zuul/logging.conf | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/mason/share/zuul/logging.conf b/mason/share/zuul/logging.conf new file mode 100644 index 00000000..8b76da26 --- /dev/null +++ b/mason/share/zuul/logging.conf @@ -0,0 +1,44 @@ +[loggers] +keys=root,zuul,gerrit + +[handlers] +keys=console,debug,normal + +[formatters] +keys=simple + +[logger_root] +level=WARNING +handlers=console + +[logger_zuul] +level=DEBUG +handlers=debug,normal +qualname=zuul + +[logger_gerrit] +level=DEBUG +handlers=debug,normal +qualname=gerrit + +[handler_console] +level=WARNING +class=StreamHandler +formatter=simple +args=(sys.stdout,) + +[handler_debug] +level=DEBUG +class=logging.handlers.TimedRotatingFileHandler +formatter=simple +args=('/var/log/zuul/debug.log', 'midnight', 1, 30,) + +[handler_normal] +level=INFO +class=logging.handlers.TimedRotatingFileHandler +formatter=simple +args=('/var/log/zuul/zuul.log', 'midnight', 1, 30,) + +[formatter_simple] +format=%(asctime)s %(levelname)s %(name)s: %(message)s +datefmt= |