PHPackages                             chaplean/ovh-logs-bundle - 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. chaplean/ovh-logs-bundle

AbandonedArchivedSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

chaplean/ovh-logs-bundle
========================

Provides support for sending logs to OVH's graylog

v1.0.0(7y ago)06.9k1[2 issues](https://github.com/chaplean/ovh-logs-bundle/issues)[2 PRs](https://github.com/chaplean/ovh-logs-bundle/pulls)MITPHPPHP &gt;=7.1

Since Dec 14Pushed 4y ago3 watchersCompare

[ Source](https://github.com/chaplean/ovh-logs-bundle)[ Packagist](https://packagist.org/packages/chaplean/ovh-logs-bundle)[ RSS](/packages/chaplean-ovh-logs-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (12)Versions (3)Used By (0)

ovh-logs-bundle
===============

[](#ovh-logs-bundle)

[![build status](https://camo.githubusercontent.com/25f001cbb41ab9bf850ff52e9f34497d23a49641e6006d04e341dcb2db3c2ed4/68747470733a2f2f7472617669732d63692e6f72672f636861706c65616e2f6f76682d6c6f67732d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chaplean/ovh-logs-bundle)[![coverage status](https://camo.githubusercontent.com/487ca3c09b5503db89e3718f7521032e535fcddcf12ffaf37e89b0a2705f537d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f636861706c65616e2f6f76682d6c6f67732d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chaplean/ovh-logs-bundle?branch=master)[![contributions welcome](https://camo.githubusercontent.com/9e93e892d0685e1bf7a1d0bd7c8410d6ecf2086a0a7b48dd58a6b96fa556ea2a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/chaplean/ovh-logs-bundle/issues)

This bundle adds support for sending your logs to OVH's graylog endpoint.

Table of content
----------------

[](#table-of-content)

- [Installation](#Installation)
- [Configuration](#Configuration)
- [Versioning](#Versioning)
- [Contributing](#Contributing)
- [Hacking](#Hacking)
- [License](#License)

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

[](#installation)

This bundle requires at least Symfony 3.0.

You can use [composer](https://getcomposer.org) to install ovh-logs-bundle:

```
composer require chaplean/ovh-logs-bundle
```

Then add to your AppKernel.php:

```
new Chaplean\Bundle\OvhLogsBundle\ChapleanOvhLogsBundle(),
```

Configuration
-------------

[](#configuration)

First you must create some parameters.

parameters.yml:

```
parameters:
    ovh_logs.hostname: hostname                             # required
    ovh_logs.port:     12201                                # optional, defaults to 12201
    ovh_logs.token:    01234567-89ab-cdef-0123-456789abcdef # required
```

The bundle configuration consists of two files:

- `ovh.yml`: the real declaration of the `ovh` logger. Import this in the environment were you want to send logs to OVH (`config_prod.yml` if only prod, `config.yml` for all environments).
- `config.yml`: declares a stub `ovh` logger. The logger must be defined in every environment, this is usefull to import in `config.yml` to make sure every environment declares it.

For example if you want to send logs to OVH only in production.

config.yml:

```
imports:
    - { resource: '@ChapleanOvhLogsBundle/Resources/config/config.yml' }
```

config\_prod.yml:

```
imports:
    - { resource: '@ChapleanOvhLogsBundle/Resources/config/ovh.yml' }
```

Optionally if you want to override the default log level, redefine the `level` key of the `ovh` handler.

```
monolog:
    handlers:
        ovh:
            level: debug # defaults to info
```

Versioning
----------

[](#versioning)

ovh-logs-bundle follows [semantic versioning](https://semver.org/). In short the scheme is MAJOR.MINOR.PATCH where

1. MAJOR is bumped when there is a breaking change,
2. MINOR is bumped when a new feature is added in a backward-compatible way,
3. PATCH is bumped when a bug is fixed in a backward-compatible way.

Versions bellow 1.0.0 are considered experimental and breaking changes may occur at any time.

Contributing
------------

[](#contributing)

Contributions are welcomed! There are many ways to contribute, and we appreciate all of them. Here are some of the major ones:

- [Bug Reports](https://github.com/chaplean/ovh-logs-bundle/issues): While we strive for quality software, bugs can happen and we can't fix issues we're not aware of. So please report even if you're not sure about it or just want to ask a question. If anything the issue might indicate that the documentation can still be improved!
- [Feature Request](https://github.com/chaplean/ovh-logs-bundle/issues): You have a use case not covered by the current api? Want to suggest a change or add something? We'd be glad to read about it and start a discussion to try to find the best possible solution.
- [Pull Request](https://github.com/chaplean/ovh-logs-bundle/pulls): Want to contribute code or documentation? We'd love that! If you need help to get started, GitHub as [documentation](https://help.github.com/articles/about-pull-requests/) on pull requests. We use the ["fork and pull model"](https://help.github.com/articles/about-collaborative-development-models/) were contributors push changes to their personnal fork and then create pull requests to the main repository. Please make your pull requests against the `master` branch.

As a reminder, all contributors are expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md).

Hacking
-------

[](#hacking)

You might find the following commands usefull when hacking on this project:

```
# Install dependencies
composer install

# Run tests
bin/phpunit
```

License
-------

[](#license)

ovh-logs-bundle is distributed under the terms of the MIT license.

See [LICENSE](LICENSE.md) for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bfb5e4a3dde826e4cd3f92d24fdfbdce1415c77f3edd38fc3420b4988977e13?d=identicon)[HugoDumazeau](/maintainers/HugoDumazeau)

![](https://www.gravatar.com/avatar/8084ee0162a85df3b3f49230b8c0dde81108195caa541bb00642cbd050e88b25?d=identicon)[hudumazeau](/maintainers/hudumazeau)

![](https://www.gravatar.com/avatar/75b46ff5a3d9bc9b04e9a3e571152c2e562dd71ef4bde0a048bea1d0567e97d0?d=identicon)[mdevlamynck](/maintainers/mdevlamynck)

![](https://www.gravatar.com/avatar/7989bd2ecb7be555081aa80dd87b63e52186fd6eb742d59b8564a26d27873eae?d=identicon)[chaplean](/maintainers/chaplean)

---

Top Contributors

[![mdevlamynck](https://avatars.githubusercontent.com/u/4378377?v=4)](https://github.com/mdevlamynck "mdevlamynck (1 commits)")

---

Tags

bundlegrayloglogsovhsymfonysymfony-bundle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chaplean-ovh-logs-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/chaplean-ovh-logs-bundle/health.svg)](https://phpackages.com/packages/chaplean-ovh-logs-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
