durusmail: quixote-users: Help with using medusa
Help with using medusa
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
Re: Help with using medusa
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-19
2004-06-19
2004-06-19
2004-06-19
2004-06-20
Help with using medusa
Oleg Broytmann
2004-06-18
On Fri, Jun 18, 2004 at 11:01:45AM -0400, Vineet Jain wrote:
> The quixote_demo_error.log gets created but it is empty. Is there any other
> log file that I should be looking at?

   Oh, BTW, windows does not allow to put into background a program with
open stdout and stderr. Redirect them to files before starting:

import sys, os
# "data/logs" subdirectory is only an example here
sys.stdout = file(os.path.join("data", "logs", "run.log"), 'w')
sys.stderr = file(os.path.join("data", "logs", "run.err"), 'w')

   and close these files after:

sys.stdout.close()
sys.stderr.close()
sys.stdout = sys.__stdout__
sys.stderr = sys.__stderr__

Oleg.
--
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

reply