alpixel / loggingbundle
This bundle is used by our team to build a CMS tool on top of Sonata
Package info
github.com/alpixel/AlpixelLoggingBundle
Type:symfony-bundle
pkg:composer/alpixel/loggingbundle
v1.0.3
2017-02-01 13:24 UTC
Requires
- php: >=5.5.0
- monolog/monolog: ~1.21
- symfony/symfony: ~2.8||~3.0
This package is not auto-updated.
Last update: 2026-03-15 09:16:53 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