On Thu, 4 Nov 2004 14:21:43 -0500, Neil Schemenauerwrote: > On Thu, Nov 04, 2004 at 08:12:06PM +0100, Michele Simionato wrote: > > Having sys.stderr=sys.stdout is a sensible default, but there are cases > > where I would like them to be different. Is that possible? And if yes, how? > > TIA, > > Something like this: > > import sys > sys.stdout = open("/var/log/debug.log", "a", 1) > > Perhaps it would be better if DefaultLogger had a 'debug_log' > keyword. Yep, I do not see the point of removing flexibility. Just to be sure: can I assume that everything will work fine if I do not call app.setup_logs() and I use my own logging utilities instead? Michele Simionato