Re: Error Logs
| From: | David Robley | Date: | Thu, 22 Jun 2000 01:44:27 +0000 |
| Subject: | Re: Error Logs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2565@lists.php.net to get a copy of this message | ||
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()
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA