From 29e2232208a3330e0d10c7728e629c146536c8bb Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 18 Jun 2008 22:29:47 -0300 Subject: [PATCH] Add an example production logging configuration file (refs #7). --- doc/config-examples/log.prod.ini | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/config-examples/log.prod.ini diff --git a/doc/config-examples/log.prod.ini b/doc/config-examples/log.prod.ini new file mode 100644 index 0000000..bb2638f --- /dev/null +++ b/doc/config-examples/log.prod.ini @@ -0,0 +1,24 @@ + +[loggers] +keys = root + +[handlers] +keys = file + +[formatters] +keys = file + +[logger_root] +level = INFO +handlers = file + +[handler_file] +class = FileHandler +formatter = file +args = ('/var/log/pymin.log', 'a', 'utf-8') + +[formatter_file] +format = %(asctime)s %(name)-24s %(levelname)-8s %(message)s +datefmt = %a, %d %b %Y %H:%M:%S + +; vim: set encoding=utf-8 : -- 2.43.0