Symfony / Apache Local Log Viewer
Description, (*1)
Simple php file shows last 10 lines or Full symfony and apache logs on a single page., (*2)
Setup, (*3)
put file logs.php in Symfony's folder /web/
, (*4)
Update logs.php $p1 (apache logs path), $p2 (Symfony logs path) variables if dynamic resolving fails., (*5)
Example, (*6)
$p1 = "C:/xampp/apache/logs/error.log"
, (*7)
$p2 = "C:/Myproject/app/logs/prod.log"
, (*8)
Usage, (*9)
Go to project domain in browser, (*10)
Example
http://localhost/logs.php, (*11)
Result, (*12)
, (*13)
Author
http://wap7.ru/folio/, (*14)