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

Most upvoted comments

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.