Skip to content

Instantly share code, notes, and snippets.

@treetop1500
Last active October 7, 2016 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save treetop1500/29a0ee954dfc8c66ecabd8f59d1651e2 to your computer and use it in GitHub Desktop.
Save treetop1500/29a0ee954dfc8c66ecabd8f59d1651e2 to your computer and use it in GitHub Desktop.
Monolog Config
monolog:
handlers:
main:
type: rotating_file
path: %kernel.logs_dir%/%kernel.environment%.log
level: error
max_files: 10
action_level: error
bubble: true
slack:
type: slack
token: "%slack_api_token%"
channel: "#symfony_errors"
bubble: true
bot_name: GrayLoon
level: CRITICAL
icon_emoji: ghost
grouped:
type: group
members: [streamed]
bubble: true
streamed:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
bubble: true
login:
type: stream
path: "%kernel.logs_dir%/auth.log"
level: info
channels: security
bubble: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment