]> git.llucax.com Git - software/pymin.git/commitdiff
Add an example development logging configuration file (refs #7).
authorLeandro Lucarella <llucax@gmail.com>
Thu, 19 Jun 2008 01:29:24 +0000 (22:29 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 19 Jun 2008 03:33:28 +0000 (00:33 -0300)
doc/config-examples/log.devel.ini [new file with mode: 0644]
doc/config-examples/pymin.devel.ini

diff --git a/doc/config-examples/log.devel.ini b/doc/config-examples/log.devel.ini
new file mode 100644 (file)
index 0000000..836e23e
--- /dev/null
@@ -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 :
index 4f34dd5e9a82f512f4fe14f58642c2badf20ab72..5396373d57054be0fbdc62a2056015c074ea70b1 100644 (file)
@@ -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