lev-savranskiy/php-symfony-log-viewer

simple symfony and apache log viewer

dev-master 2016-11-09 22:31 UTC

This package is not auto-updated.

Last update: 2024-10-07 13:31:52 UTC


README

Description

Simple php file shows last 10 lines or Full symfony and apache logs on a single page.

Setup

put file logs.php in Symfony's folder /web/

Update logs.php $p1 (apache logs path), $p2 (Symfony logs path) variables if dynamic resolving fails.

Example

$p1 = "C:/xampp/apache/logs/error.log"

$p2 = "C:/Myproject/app/logs/prod.log"

Usage

Go to project domain in browser

Example http://localhost/logs.php

Result

 symfony / apache Local Log Viewer

Author http://wap7.ru/folio/