doughnut-wedding/app/config/config_prod.yml

45 lines
1.4 KiB
YAML

imports:
- { resource: config.yml }
monolog:
handlers:
main:
type: fingers_crossed
action_level: notice
handler: redis
console:
type: console
redis:
type: service
id: snc_redis.monolog.handler
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: /