PHPackages                             krisengine/yii2-graylog2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. krisengine/yii2-graylog2

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

krisengine/yii2-graylog2
========================

Graylog2 log target for Yii2

211.1k—10%PHP

Since Oct 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/krisengine/yii2-graylog2)[ Packagist](https://packagist.org/packages/krisengine/yii2-graylog2)[ RSS](/packages/krisengine-yii2-graylog2/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Graylog2 log target for Yii2
============================

[](#graylog2-log-target-for-yii2)

Credits
-------

[](#credits)

Benjamin Zikarsky

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require "krisengine/yii2-graylog2" "*"

```

or run

```
composer require "krisengine/yii2-graylog2" "*"

```

or add

```
"krisengine/yii2-graylog2" : "*"
```

to the `require` section of your application's `composer.json` file.

Usage
-----

[](#usage)

Add Graylog target to your log component config:

```
