alpixel/loggingbundle

This bundle is used by our team to build a CMS tool on top of Sonata

Installs: 4 623

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.0.3 2017-02-01 13:24 UTC

This package is not auto-updated.

Last update: 2024-04-13 23:51:40 UTC


README

Purpose of this bundle is to offer better automation of log handler. Mainly about Slack reporting.

Configuration

In your AppKernel

new Alpixel\Bundle\LoggingBundle\AlpixelLoggingBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),

In your config.yml

alpixel_logging:
    slack:
      token:    "my token"
      bot_name: "Error Bot"
      channel:  "alerts"
      debug: false #To activate in debug environment

Don't forget to remove any basic logging configuration in your config_prod and config_dev.yml