Skip to content

Instantly share code, notes, and snippets.

@treetop1500
Last active October 3, 2016 15:50
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/cf579cef322ce51f6a6341e86250eaa2 to your computer and use it in GitHub Desktop.
Save treetop1500/cf579cef322ce51f6a6341e86250eaa2 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
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