durusmail: quixote-users: simple_server log to file?
*** PROBABLY SPAM *** simple_server log to file?
2005-03-08
2005-03-08
simple_server log to file?
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-09
2005-03-10
simple_server log to file?
mso@oz.net
2005-03-09
David Binger wrote:
> I'd put a print at the bottom of
> Publisher.__init__() and see what self.logger.error_log and sys.stdout are.

Or open a new stream.

f = open('/tmp/x', 'w')
print >>f, self.logger.error_log
print >>f, sys.stdout
f.close()


reply