[Zope3-checkins] CVS: Zope3 - log.ini:1.2

Guido van Rossum guido@python.org
Thu, 19 Dec 2002 15:58:56 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv31011

Modified Files:
	log.ini 
Log Message:
Add some comments with hints on this file.

Log to z3.log rather than /dev/tty, so it won't bomb out on Windows.


=== Zope3/log.ini 1.1 => 1.2 ===
--- Zope3/log.ini:1.1	Thu Dec 19 15:50:19 2002
+++ Zope3/log.ini	Thu Dec 19 15:58:55 2002
@@ -1,3 +1,11 @@
+# This file configures the logging module: critical errors are logged
+# to z3.log; everything else is ignored.
+
+# To use this configuration, use logging.config.fileConfig("log.ini").
+
+# Documentation for the file format is at
+# http://www.red-dove.com/python_logging.html#config
+
 [logger_root]
 level=CRITICAL
 handlers=normal
@@ -6,8 +14,8 @@
 class=FileHandler
 level=NOTSET
 formatter=common
-args=('/dev/tty', 'a')
-filename=/dev/tty
+args=('z3.log', 'a')
+filename=z3.log
 mode=a
 
 [formatter_common]