[spambayes-bugs] [ spambayes-Feature Requests-1383810 ] Don't buffer STDOUT and STDERR

SourceForge.net noreply at sourceforge.net
Sat Dec 17 20:11:39 CET 2005


Feature Requests item #1383810, was opened at 2005-12-17 19:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498106&aid=1383810&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pop3proxy
Group: None
Status: Open
Priority: 5
Submitted By: lyeoh (lyeoh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't buffer STDOUT and STDERR

Initial Comment:
It is desirable to allow sb_server STDOUT/STDERR to be 
unbuffered so that sb_server STDOUT and STDERR appears 
in syslog in a timely manner
e.g.
sb_server.py | logger -t spambayes 2>&1 &

I am currently adding -u
e.g.
#!/usr/local/bin/python -u

Otherwise nothing shows up in syslog until the buffer 
is flushed which is not on a per line basis.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498106&aid=1383810&group_id=61702


More information about the Spambayes-bugs mailing list