Re: [Tutor] CGIHTTPServer - redirect output to a log file
Paulino wrote: How can I redirect the output of an CGIHTTPServer from the console to a logfile? ___ Tutor maillist - Tutor@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 [EMAIL PROTECTED] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] CGIHTTPServer - redirect output to a log file
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@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 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] CGIHTTPServer - redirect output to a log file
You can start it from a shell script #!/bin/sh ./MyWebServer.py 2/path/to/output.log Paulino [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] well, I'm running this CGIserver on windows... You can still use redirection although its not as powerful as unix. Just try C:\PATH python \path\mywebserver.py logfile.txt You can get full details by entering the search string output redirection at the XP Help screen and viewing the Using command redirection operators topic. HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor