2017-03-29 09:24:59 -07:00
|
|
|
imports:
|
|
|
|
- { resource: config.yml }
|
|
|
|
|
|
|
|
monolog:
|
|
|
|
handlers:
|
|
|
|
main:
|
|
|
|
type: fingers_crossed
|
2017-05-05 22:49:54 -07:00
|
|
|
action_level: notice
|
2017-03-29 15:18:01 -07:00
|
|
|
handler: redis
|
2017-03-29 09:24:59 -07:00
|
|
|
console:
|
|
|
|
type: console
|
2017-03-29 15:18:01 -07:00
|
|
|
redis:
|
|
|
|
type: service
|
|
|
|
id: snc_redis.monolog.handler
|
2017-05-05 22:49:54 -07:00
|
|
|
level: notice
|
|
|
|
mail:
|
|
|
|
type: fingers_crossed
|
|
|
|
# 500 errors are logged at the critical level
|
|
|
|
action_level: error
|
|
|
|
excluded_404s:
|
|
|
|
- ^/
|
|
|
|
# to also log 400 level errors (but not 404's):
|
|
|
|
# action_level: error
|
|
|
|
#excluded_404s:
|
|
|
|
# - ^/
|
|
|
|
handler: deduplicated
|
|
|
|
deduplicated:
|
|
|
|
type: deduplication
|
|
|
|
handler: swift
|
|
|
|
swift:
|
|
|
|
type: swift_mailer
|
|
|
|
from_email: 'action@doughnutwedding.com'
|
|
|
|
to_email: ['sikofitt@gmail.com','katrina.a.johnson@gmail.com']
|
|
|
|
# or list of recipients
|
|
|
|
# to_email: ['dev1@example.com', 'dev2@example.com', ...]
|
|
|
|
subject: 'An Error Occurred! %%message%%'
|
|
|
|
level: error
|
|
|
|
formatter: monolog.formatter.html
|
|
|
|
content_type: text/html
|
|
|
|
vich_uploader:
|
|
|
|
storage: gaufrette
|
|
|
|
mappings:
|
|
|
|
gallery_image:
|
|
|
|
upload_destination: cloud
|
|
|
|
uri_prefix: /
|