James E. Blair | fb135a3 | 2012-06-05 14:48:16 -0700 | [diff] [blame^] | 1 | [loggers] |
| 2 | keys=root,zuul,gerrit |
| 3 | |
| 4 | [handlers] |
| 5 | keys=console,debug,normal |
| 6 | |
| 7 | [formatters] |
| 8 | keys=simple |
| 9 | |
| 10 | [logger_root] |
| 11 | level=WARNING |
| 12 | handlers=console |
| 13 | |
| 14 | [logger_zuul] |
| 15 | level=DEBUG |
| 16 | handlers=debug,normal |
| 17 | qualname=zuul |
| 18 | |
| 19 | [logger_gerrit] |
| 20 | level=DEBUG |
| 21 | handlers=debug,normal |
| 22 | qualname=gerrit |
| 23 | |
| 24 | [handler_console] |
| 25 | level=WARNING |
| 26 | class=StreamHandler |
| 27 | formatter=simple |
| 28 | args=(sys.stdout,) |
| 29 | |
| 30 | [handler_debug] |
| 31 | level=DEBUG |
| 32 | class=logging.handlers.TimedRotatingFileHandler |
| 33 | formatter=simple |
| 34 | args=('/var/log/zuul/debug.log', 'midnight', 1, 30,) |
| 35 | |
| 36 | [handler_normal] |
| 37 | level=INFO |
| 38 | class=logging.handlers.TimedRotatingFileHandler |
| 39 | formatter=simple |
| 40 | args=('/var/log/zuul/zuul.log', 'midnight', 1, 30,) |
| 41 | |
| 42 | [formatter_simple] |
| 43 | format=%(asctime)s %(levelname)s %(name)s: %(message)s |
| 44 | datefmt= |