[Tutor] CGIHTTPServer - redirect output to a log file

Paulino paulino1 at sapo.pt
Sun Oct 15 21:15:50 CEST 2006


well, I'm running this CGIserver on windows...

Glenn T Norton escreveu:
> Paulino wrote:
>
>> How can I redirect the output of an CGIHTTPServer from the console to 
>> a logfile?
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>  
>>
> You can start it from a shell script
> #!/bin/sh
> ./MyWebServer.py 2>>/path/to/output.log
>
> Good Luck,
> Glenn
>



More information about the Tutor mailing list