[Zope3-checkins] CVS: Zope3 - z3.py:1.17

Guido van Rossum guido@python.org
Thu, 6 Mar 2003 13:25:15 -0500


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

Modified Files:
	z3.py 
Log Message:
Default logging to INFO from the start.


=== Zope3/z3.py 1.16 => 1.17 ===
--- Zope3/z3.py:1.16	Tue Feb 18 12:26:12 2003
+++ Zope3/z3.py	Thu Mar  6 13:25:13 2003
@@ -42,7 +42,8 @@
     # Initialize the logging module.
     import logging.config
     logging.basicConfig()
-    logging.root.setLevel(logging.CRITICAL)
+    # See zope/app/startup/sitedefinition.py for this default:
+    logging.root.setLevel(logging.INFO)
     # If log.ini exists, use it
     if os.path.exists("log.ini"):
         logging.config.fileConfig("log.ini")