From 2dace817bca19a2cf0b975640621e7724ef2c9d8 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 19 Jun 2008 00:29:25 -0300 Subject: [PATCH] Add example configuration files for initialization logging (refs #7). Includes both development and production examples. --- doc/config-examples/log.init.devel.ini | 23 +++++++++++++++++++++++ doc/config-examples/log.init.prod.ini | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 doc/config-examples/log.init.devel.ini create mode 100644 doc/config-examples/log.init.prod.ini diff --git a/doc/config-examples/log.init.devel.ini b/doc/config-examples/log.init.devel.ini new file mode 100644 index 0000000..51232c8 --- /dev/null +++ b/doc/config-examples/log.init.devel.ini @@ -0,0 +1,23 @@ + +[loggers] +keys = root + +[handlers] +keys = stdout + +[formatters] +keys = stdout + +[logger_root] +level = DEBUG +handlers = stdout + +[handler_stdout] +class = StreamHandler +formatter = stdout +args = (sys.stdout,) + +[formatter_stdout] +format = %(levelname)s: %(message)s + +; vim: set encoding=utf-8 : diff --git a/doc/config-examples/log.init.prod.ini b/doc/config-examples/log.init.prod.ini new file mode 100644 index 0000000..5150817 --- /dev/null +++ b/doc/config-examples/log.init.prod.ini @@ -0,0 +1,23 @@ + +[loggers] +keys = root + +[handlers] +keys = stderr + +[formatters] +keys = stderr + +[logger_root] +level = INFO +handlers = stderr + +[handler_stderr] +class = StreamHandler +formatter = stderr +args = (sys.stderr,) + +[formatter_stderr] +format = %(levelname)s: %(message)s + +; vim: set encoding=utf-8 : -- 2.43.0