File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ are given with the most recent entry first.
552003-??-?? 0.5.5
66- fixed rdbms searching by ID (sf bug 666615)
77- detect corrupted index and raise semi-useful exception (sf bug 666767)
8+ - open server logfile unbuffered
89
910
10112003-01-10 0.5.4
Original file line number Diff line number Diff line change 1616#
1717""" HTTP Server that serves roundup.
1818
19- $Id: roundup_server.py,v 1.16 2002-11-28 06:55:57 richard Exp $
19+ $Id: roundup_server.py,v 1.16.2.1 2003-01-13 02:45:09 richard Exp $
2020"""
2121
2222# python version check
@@ -305,7 +305,8 @@ def run():
305305
306306 # redirect stdout/stderr to our logfile
307307 if logfile :
308- sys .stdout = sys .stderr = open (logfile , 'a' )
308+ # appending, unbuffered
309+ sys .stdout = sys .stderr = open (logfile , 'a' , 0 )
309310
310311 httpd = BaseHTTPServer .HTTPServer (address , RoundupRequestHandler )
311312 print _ ('Roundup server started on %(address)s' )% locals ()
You can’t perform that action at this time.
0 commit comments