[Zodb-checkins] CVS: ZODB3/zdaemon - Daemon.py:1.18 Heartbeat.py:NONE ZDaemonLogging.py:NONE
Guido van Rossum
guido@python.org
Sat, 9 Nov 2002 12:19:30 -0500
Update of /cvs-repository/ZODB3/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv1946
Modified Files:
Daemon.py
Removed Files:
Heartbeat.py ZDaemonLogging.py
Log Message:
Drop references to ZDaemonLogging, and kill it. Kill Heartbeat.py.
=== ZODB3/zdaemon/Daemon.py 1.17 => 1.18 ===
--- ZODB3/zdaemon/Daemon.py:1.17 Thu Nov 7 16:35:02 2002
+++ ZODB3/zdaemon/Daemon.py Sat Nov 9 12:19:29 2002
@@ -13,7 +13,6 @@
##############################################################################
import os, sys, time, signal
-from ZDaemonLogging import pstamp
import zLOG
pyth = sys.executable
@@ -146,3 +145,6 @@
if startswith('SIG') and not startswith('SIG_'):
_signals[v] = k
return _signals.get(n, 'unknown')
+
+def pstamp(message, sev):
+ zLOG.LOG("zdaemon", sev, message)
=== Removed File ZODB3/zdaemon/Heartbeat.py ===
=== Removed File ZODB3/zdaemon/ZDaemonLogging.py ===