php-pm-httpkernel: Monolog Switf_Mailer not working
Hi,
I’m testing php-pm with my application and monolog has stopped sending me messages on error/exception (this same configuration works fine with php-cli [built-in server] / php-fpm).
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
excluded_404s:
- ^/
handler: grouped
console:
type: console
handler: grouped
grouped:
type: group
members: [streamed, deduplicated]
streamed:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
deduplicated:
type: deduplication
handler: swift
swift:
type: swift_mailer
from_email: 'from-mail@address'
to_email:
- 'to-mail@address1'
- 'to-mail@address2'
subject: 'Mail subject'
level: debug
formatter: monolog.formatter.html
content_type: text/html
Is there a solution/workaround?
Regards
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (15 by maintainers)
Commits related to this issue
- bug #251 Reset wasExceptionThrown (dnna) This PR was merged into the 3.2-dev branch. Discussion ---------- Reset wasExceptionThrown Fixes https://github.com/php-pm/php-pm-httpkernel/issues/62 The... — committed to symfony/swiftmailer-bundle by fabpot 6 years ago
- feature #279 Flush loggers on kernel.reset (dnna) This PR was squashed before being merged into the 3.x-dev branch (closes #279). Discussion ---------- Flush loggers on kernel.reset Fixes https://... — committed to symfony/monolog-bundle by lyrixx 5 years ago
- feature #279 Flush loggers on kernel.reset (dnna) This PR was squashed before being merged into the 3.x-dev branch (closes #279). Discussion ---------- Flush loggers on kernel.reset Fixes https://... — committed to dani-danigm/monolog-bundle by lyrixx 5 years ago
OK that part is probably the same issue as #134. Will look into it in the next days.
Ping @rogeriolino is this still an issue.