From: Leandro Lucarella Date: Thu, 19 Jun 2008 01:29:24 +0000 (-0300) Subject: Add an example development logging configuration file (refs #7). X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/174b99e4072ff359ff4799954e7456e0bb17531b?ds=inline Add an example development logging configuration file (refs #7). --- 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