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

diff --git a/doc/config-examples/log.prod.ini b/doc/config-examples/log.prod.ini
new file mode 100644 (file)
index 0000000..bb2638f
--- /dev/null
@@ -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 :