changeset 4:797c25edf753

removed debug code imported from: moin--main--1.5--patch-5
author Thomas Waldmann <tw@waldmann-edv.de>
date Thu, 22 Sep 2005 22:06:45 +0000
parents e63790f39ebd
children 4ea758d015f9
files MoinMoin/request.py
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Thu Sep 22 22:05:59 2005 +0000
+++ b/MoinMoin/request.py	Thu Sep 22 22:06:45 2005 +0000
@@ -1379,18 +1379,12 @@
         except error.FatalError, err:
             self.fail(err)
             
-    def open_logs_late(self):
+    def open_logs(self):
         # create log file for catching stderr output
         if not self.opened_logs:
             sys.stderr = open(os.path.join(self.cfg.data_dir, 'error.log'), 'at')
             self.opened_logs = 1
 
-    def open_logs(self):
-        # create log file for catching stderr output
-        sys.stderr = open('/org/moin_tw/moin--arcelor--1.3/server/data/error.log', 'at')
-        sys.stderr.write("Log opened\n")
-        self.opened_logs = 1
-
     def read(self, n=None):
         """ Read from input stream.
         """