Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for WhatFailureGroupHandler (Monolog ~1.11) #107

Merged
merged 1 commit into from
Dec 28, 2014
Merged

Add support for WhatFailureGroupHandler (Monolog ~1.11) #107

merged 1 commit into from
Dec 28, 2014

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Oct 28, 2014

Please tag a new version after merging this :-).

Here is an example configuration that can be used to send messages into a Logstash socket.
That socket might not exist or be not writeable in case Logstash crashes/does not run,
but you don't want that to affect your application.

monolog:
  handlers:

    ignore_failures:
      type: whatfailuregroup
      members: [ main ]

    main:
      type:  socket
      connection_string: unix:///path/to/logstash/socket
      level: debug
      connection_timeout: 0.05

@mpdude
Copy link
Contributor Author

mpdude commented Dec 7, 2014

The Travis failure is due to some XML import problems in HHVM. fabpot complains about CS in places not touched by this PR.

Please merge.

@mpdude
Copy link
Contributor Author

mpdude commented Dec 26, 2014

bump

@nicolas-grekas
Copy link
Member

can you please rebase on 2.7?

@mpdude
Copy link
Contributor Author

mpdude commented Dec 27, 2014

2.7?

@Seldaek Seldaek merged commit fb96dff into symfony:master Dec 28, 2014
Seldaek added a commit that referenced this pull request Dec 28, 2014
@Seldaek
Copy link
Member

Seldaek commented Dec 28, 2014

Thanks

@mpdude mpdude deleted the add-whatfailuregroup-handler branch December 28, 2014 19:01
@stof
Copy link
Member

stof commented Dec 31, 2014

@nicolas-grekas there is no 2.7 branch in the bundle (the bundle has its own release cycle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants