From 174b99e4072ff359ff4799954e7456e0bb17531b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 18 Jun 2008 22:29:24 -0300 Subject: [PATCH] Add an example development logging configuration file (refs #7). --- doc/config-examples/log.devel.ini | 24 ++++++++++++++++++++++++ doc/config-examples/pymin.devel.ini | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 doc/config-examples/log.devel.ini diff --git a/doc/config-examples/log.devel.ini b/doc/config-examples/log.devel.ini new file mode 100644 index 0000000..836e23e --- /dev/null +++ b/doc/config-examples/log.devel.ini @@ -0,0 +1,24 @@ + +[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 = %(name)-24s %(levelname)-8s %(message)s +datefmt = %c + +; vim: set encoding=utf-8 : diff --git a/doc/config-examples/pymin.devel.ini b/doc/config-examples/pymin.devel.ini index 4f34dd5..5396373 100644 --- a/doc/config-examples/pymin.devel.ini +++ b/doc/config-examples/pymin.devel.ini @@ -21,6 +21,8 @@ bind-port = 9999 services = dhcp qos firewall nat ppp vpn ip dns proxy vrrp ; directories where to find those plug-ins services-dirs = services +; logging configuration file +log-config-files = doc/config-examples/log.devel.ini -- 2.43.0