Skip to content

Instantly share code, notes, and snippets.

@havvg
Last active October 10, 2015 21:58
Show Gist options
  • Save havvg/3756903 to your computer and use it in GitHub Desktop.
Save havvg/3756903 to your computer and use it in GitHub Desktop.
Monolog handler configuration
monolog:
handlers:
log_everything:
type: fingers_crossed
action_level: critical
handler: grouped
channels: [!frontend, !deprecation]
grouped:
type: group
members: [database, buffered]
buffered:
type: buffer
handler: swift
swift:
type: swift_mailer
from_email: %mailer_error_from_email%
to_email: %mailer_error_to_email%
subject: %mailer_error_subject%
level: debug
database:
type: service
id: monolog.handler.pdo
level: debug
cctrl_log:
type: stream
path: php://stderr
level: warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment