[Tutor] CGIHTTPServer - redirect output to a log file

Glenn T Norton gtnorton at earthlink.net
Sun Oct 15 20:23:32 CEST 2006


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

-- 
"Ketchup. For the good times... " - Ketchup Advisory Board 
Glenn Norton
Application Developer
Nebraska.gov
1-402-471-2777
glenn at nebraska.gov



More information about the Tutor mailing list