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.
Neil