Error Logs
| From: | Brian C. Doyle | Date: | Wed, 21 Jun 2000 18:28:22 +0000 |
| Subject: | Error Logs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2522@lists.php.net to get a copy of this message | ||
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!