kriss/yii2-log-reader Yii2 log reader

extensionmoduleloglogreader

Yii2 Log Reader

Yii2 log reader

this project is extend from zhuravljov/yii2-logreader, and Add more operation like delete download and so on.

from 2.0. history can load file that Yii2 FileTarget rotated.

Preview

preview

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist kriss/yii2-log-reader "2.*"

or add

"kriss/yii2-log-reader": "2.*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

return [
    'bootstrap' => ['log-reader'],
    'modules' => [
        'log-reader' => [
            'class' => 'kriss\logReader\Module',
            'aliases' => [
                'Frontend Errors' => '@frontend/runtime/logs/app.log',
                'Backend Errors' => '@backend/runtime/logs/app.log',
                'Console Errors' => '@console/runtime/logs/app.log',
            ],
        ],
    ],
];

You can then access Log Reader using the following URL:

http://localhost/path/to/index.php?r=log-reader

or if you have enabled pretty URLs, you may use the following URL:

http://localhost/path/to/log-reader

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

  • v2.215 December 2017
  • v2.106 September 2017
  • v2.006 September 2017
  • v1.105 September 2017
  • v1.005 September 2017

Comments



v2.2 is the latest of 5 releases



MIT license
Stats
2 github stars & 0 github forks
2 downloads in the last day
102 downloads in the last 30 days
288 total downloads