[Zodb-checkins] CVS: ZODB3/zdaemon - zdctl.py:1.32

Guido van Rossum guido@python.org
Fri, 24 Jan 2003 12:33:25 -0500


Update of /cvs-repository/ZODB3/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv28689

Modified Files:
	zdctl.py 
Log Message:
In the foreground command, set EVENT_LOG_FILE so logging goes to
stderr.


=== ZODB3/zdaemon/zdctl.py 1.31 => 1.32 ===
--- ZODB3/zdaemon/zdctl.py:1.31	Fri Jan 24 12:08:44 2003
+++ ZODB3/zdaemon/zdctl.py	Fri Jan 24 12:33:22 2003
@@ -449,6 +449,9 @@
             print "To run the program in the foreground, please stop it first."
             return
         program = " ".join(self.options.program)
+        program = "\n".join (["export EVENT_LOG_FILE",
+                              "EVENT_LOG_FILE=",
+                              program])
         print program
         try:
             os.system(program)