Re: Error Logs

From: Date: Thu, 22 Jun 2000 01:55:10 +0000
Subject: Re: Error Logs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2567@lists.php.net to get a copy of this message
At 11:14 AM 6/22/00 +0930, David Robley wrote:
On 21 Jun, Brian C. Doyle wrote: Hello all, How would I do a tail of an error log for an apache server so that it is nicely formated on a web page? Currently I have: <? system(escapeshellcmd("tail -f ./logs/error_log.log")); ?> I get a live tail of the error log with out any line breaks Any help is appreciated! nl2br()
Or you can enclose your log in <pre> tags... HTH, Zak Greant Creative Director Nucleus Information Service Inc. "A camel is a horse designed by a committee." - Alex Issigonis (Designer of the Austin Mini)

« previous php.general (#2567) next »