----- Original Message ----- From: "Ed Christian" <[EMAIL PROTECTED]> To: "Dan Anderson" <[EMAIL PROTECTED]>; "beginners-cgi" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 8:22 AM Subject: RE: What is the best method to test out a script that is spitting info to the httpd logs
Dan Anderson wrote: > What is the best way to test a script that is spitting out stuff to > the httpd log. lessing a huge log is a PITA, and deleting it doesn't > give me a new log like I'd like (plus potentially loses information I > need). On a *nix platform, try tail -f <logfile>. It'll show you in a "live" fashion what new information is being generated to the logfile. Unless, of course, your script is generating hundreds of lines of text per run... Then, I'd suggest quieting your output a bit and testing section-by-section. > > Thanks in advance, > > Dan > And, instead of deleting the log, empty it with >error_log. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]