From: Oleg Broytman Date: Mon, 24 Dec 2007 20:59:45 +0000 (+0000) Subject: Open the error log in append mode. X-Git-Tag: v4.5.3~245 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=347ec3554d49c4b49f3d7ed718d6ef0541806a5e;p=bookmarks_db.git Open the error log in append mode. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@131 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index 0f1dc6a..c04026e 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -15,8 +15,8 @@ import sys, os from subproc import Subprocess, RecordFile # This is to catch 'close failed: [Errno 9] Bad file descriptor' message -# from os.close() in Subprocess.die(). -sys.stderr = open("err.log", 'w') +# from os.close() in Subprocess.die() and errors from from the subprocess. +sys.stderr = open("err.log", 'a') check_subp = None subp_pipe = None