[Zope-Checkins] CVS: Zope/lib/python/Signals - Signals.py:1.2.4.9
Chris McDonough
chrism@zope.com
Fri, 1 Nov 2002 07:51:45 -0500
Update of /cvs-repository/Zope/lib/python/Signals
In directory cvs.zope.org:/tmp/cvs-serv9293/lib/python/Signals
Modified Files:
Tag: chrism-install-branch
Signals.py
Log Message:
Logging subsystem overhaul step 1. I am attempting to normalize Zope logging around Vinay Sajip's PEP 282 logger.
- remove ZLogger package.
- Insert Vinay's logging module into zLOG package.
- Move ZServer's DebugLogger to zLOG package (despite chest-thumping in comments in the ZServer module, it's OK for ZServer to depend on zLOG).
- Create EventLogger module in zLOG to replace MinimalLogger.
- Modify startup to use EventLogger.
Also check in some forgotten test input for the parser package.
=== Zope/lib/python/Signals/Signals.py 1.2.4.8 => 1.2.4.9 ===
--- Zope/lib/python/Signals/Signals.py:1.2.4.8 Sat Oct 26 15:51:45 2002
+++ Zope/lib/python/Signals/Signals.py Fri Nov 1 07:51:14 2002
@@ -20,7 +20,6 @@
from zdaemon.SignalHandler import SignalHandler
import zLOG
import sys
-import ZLogger
def shutdownHandler():
"""Shutdown cleanly on SIGTERM, SIGINT. This is registered first,
@@ -52,7 +51,6 @@
zLOG._set_stupid_dest(None)
else:
zLOG._stupid_dest = None
- ZLogger.stupidFileLogger._stupid_dest = None
zLOG.LOG('Z2', zLOG.BLATHER, "Reopened event log")
zLOG.LOG('Z2', zLOG.INFO, "Log files reopened successfully")