2017 © Pedro Peláez
 

yii2-extension yii2-fluentd

Logging with Fluentd for Yii2

image

bilberrry/yii2-fluentd

Logging with Fluentd for Yii2

  • Wednesday, April 6, 2016
  • by bilberrry
  • Repository
  • 1 Watchers
  • 5 Stars
  • 202 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

yii2-fluentd

Scrutinizer Code Quality Packagist Packagist GitHub license, (*1)

Logging with Fluentd for Yii2, (*2)

Installation

You can install this extension with composer., (*3)

composer require bilberrry/yii2-fluentd

or add to composer.json, (*4)

"bilberrry/yii2-fluentd": "0.1"

Usage

Add new log target to your configuration file., (*5)

Example configuration
...
'components' => [
    'log' => [
        'traceLevel' => YII_DEBUG ? 3 : 0,
        'targets' => [
            [
                'class' => 'bilberrry\log\FluentdTarget',
                'levels' => ['error', 'warning'], // Log levels
                'host' => 'localhost', // Fluentd host
                'port' => '24224', // Fluentd port
                'options' => [], // Options for Fluentd client
                'tagFormat' => 'app.%level' // Tag format, available placeholders: %date, %timestamp, %level
            ],
        ],
    ],
...

For options list check this source code., (*6)

The Versions

06/04 2016

dev-master

9999999-dev https://github.com/bilberrry/yii2-fluentd

Logging with Fluentd for Yii2

  Sources   Download

MIT

The Requires

 

by Alex Mukho

log yii2 fluentd

06/04 2016

0.1.1

0.1.1.0 https://github.com/bilberrry/yii2-fluentd

Logging with Fluentd for Yii2

  Sources   Download

MIT

The Requires

 

by Alex Mukho

log yii2 fluentd

06/04 2016

0.1

0.1.0.0 https://github.com/bilberrry/yii2-fluentd

Logging with Fluentd for Yii2

  Sources   Download

MIT

The Requires

 

log yii2 fluentd