[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl - ServerControl.py:1.3

Tim Peters tim.one@comcast.net
Thu, 19 Dec 2002 16:51:52 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl
In directory cvs.zope.org:/tmp/cvs-serv5900/lib/python/Zope/App/OFS/ApplicationControl/ServerControl

Modified Files:
	ServerControl.py 
Log Message:
More logging.


=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl/ServerControl.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl/ServerControl.py:1.2	Mon Jun 10 19:27:51 2002
+++ Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl/ServerControl.py	Thu Dec 19 16:51:52 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 __doc__ = """ Server Control Implementation
 
@@ -17,7 +17,7 @@
 
 from Zope.App.OFS.ApplicationControl.ServerControl.IServerControl import \
   IServerControl, ServerControlError, DoublePriorityError, NotCallableError
-import zLOG
+import logging
 
 import sys
 
@@ -71,4 +71,4 @@
 ## simple log notification for shutdown
 def shutdownLogger():
     """simple shutdown logger"""
-    zLOG.LOG("ServerControl", zLOG.INFO, "Server is going to be shut down.")
+    logging.warn("ServerControl: Server is going to be shut down.")