zhuravljov/yii2-logreader Yii2 Log Reader

Yii2 Log Reader

  1. Installation
  2. Usage


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist zhuravljov/yii2-logreader "*"

or add

"zhuravljov/yii2-logreader": "*"

to the require section of your composer.json file.


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

return [
    'bootstrap' => ['logreader'],
    'modules' => [
        'logreader' => [
            'class' => 'zhuravljov\yii\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:


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

0 0
1 follower
23 561 downloads
Yii Version: 2.0
License: BSD-3-Clause
Category: Logging
Developed by: KiTE
Created on: Apr 2, 2018
Last updated: (not set)
Packagist Profile
Github Repository