2017 © Pedro Peláez
 

yii2-extension yii2-log-module

Log management from web views

image

bariew/yii2-log-module

Log management from web views

  • Tuesday, June 28, 2016
  • by bariew
  • Repository
  • 1 Watchers
  • 4 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 5 % Grown

The README.md

Yii2 log module.

Description

Manages system logs from web views., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist bariew/yii2-log-module "1.0.1"

or add, (*4)

"bariew/yii2-log-module": "1.0.1"

to the require section of your composer.json file., (*5)

Usage

  • Add log component target and module in the main config components section:
    'components' => [
    ...
        'log' => [
            'targets' => [
                [
                    'class' => 'yii\log\DbTarget',
                    'levels' => ['error', 'warning'],
                    'logTable' => '{{%log_error}}',
                    'except' => [
                        'yii\web\HttpException:404',
                        'yii\web\HttpException:403',
                        'yii\web\HttpException:400',
                        'yii\i18n\PhpMessageSource::loadMessages'
                    ],
                ],
            ]
        ]
    ],
    'modules' => [
        ...
        'log' => [
            'class' => 'bariew\logModule\Module'
        ]
    ],
  • Apply migrations from the module migrations folder., (*6)

  • Go to log/error/index URL, (*7)

The Versions

28/06 2016

v1.x-dev

1.9999999.9999999.9999999-dev

Log management from web views

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

log yii2 module

28/06 2016

dev-master

9999999-dev

Log management from web views

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

log yii2 module

28/06 2016

1.0.1

1.0.1.0

Log management from web views

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

log yii2 module

04/04 2016

1.0.0

1.0.0.0

Log management from web views

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

log yii2 module