1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 17:46:09 +02:00
Commit Graph

437 Commits

Author SHA1 Message Date
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +02:00
Emmanuel Vella
46cedf5e2f Allow multiple users for PushoverHandler
The construct accepts a string or an array of user ids to keep backward compatibility.

In case of an array, a message is built and send for each of the users.
2013-07-26 16:35:47 +02:00
odino
b422bb1c5b refactored the implementation of the NR handler and its test:
* the test now checks that if the extension is not loaded, an exception is thrown
* the test now mocks the new relic native functions
* moved some parameters as constants in the handler class
2013-07-24 10:14:35 +04:00
odino
394b0bf872 removed the logic for the fallback handler, its out of place, adapted the "test" 2013-07-24 09:46:20 +04:00
Alessandro Nadalin
33ea09eb6a updated the documentation 2013-07-24 09:46:20 +04:00
Alessandro Nadalin
b439707cbb Added an handler for NewRelic:
* implemented a test which verifies that the fallback handler handles records when the NewRelic PHP extension is not installes
* implemented the actual handler
2013-07-24 09:46:20 +04:00
Jordi Boggiano
050bb52fd8 Fix a few details and add docs to the ChannelLevelActivationStrategy, refs #186 2013-07-17 18:11:27 +02:00
Jordi Boggiano
e9df30c7f5 Merge remote-tracking branch 'netmikey/master' 2013-07-17 18:00:31 +02:00
Elan Ruusamäe
788387bd80 add error_log handler
[error_log](http://www.php.net/manual/en/function.error-log.php) handler
to send output to webserver SAPI handler (directly or indirectly)
2013-07-17 17:04:55 +03:00
pvanliefland
474a0f7bc4 Amended PR #203 (RavenHandler batch improvements)
Filtered records based on their level
Took the record with the highest severity as the main one
2013-07-11 19:16:14 +02:00
Jordi Boggiano
c933bb67a8 CS fixes, refs #209 2013-07-11 18:36:07 +02:00
Artur Moczulski
aeb2dd578c Update PushoverHandler.php
simplifying the priority level setting if condition following stof suggestion
2013-07-10 08:44:39 -07:00
Artur Moczulski
fe13e80787 added support for Pushover API priority brought up by SteveEdson in issue #187; the priority levels can be adjusted either through the handler's constructor or setters 2013-07-08 00:35:22 -07:00
Jordi Boggiano
875ada786b Avoid using GlobIterator since it seems to trip up open_basedir restrictions, fixes #204 2013-06-20 16:40:07 +02:00
Fabien Potencier
29ae147226 Improved the Raven handler when using a Buffer handler 2013-06-15 15:22:51 +02:00
David Windell
3556ae7316 Tidy up handler 2013-05-24 19:10:15 +02:00
David Windell
041b936b83 Don't log exceptions twice 2013-05-24 18:09:40 +02:00
Rafael Dohms
690c82656b Fixing bad docblock. 2013-05-12 22:04:15 -05:00
Rafael Dohms
0f13a1a6bb HipChat Handler
Adds a handler that is capable of sending notices into HipChat, the team communication system provided by Atlassian.
This is based on the PushoverHandler and built on top of the socketHandler.

The needed configuration is described in the docblock of the HipChatHandler file.
2013-05-08 17:37:53 +02:00
Jordi Boggiano
1eed379a3b Define properties 2013-05-03 11:05:12 +02:00
davewwww
12f12f2d4c Update SyslogHandler.php
move openlog() to write() method to use multiple facilities.
2013-05-02 19:32:35 +03:00
Mike Meessen
b2ce4483a5 Fixed phpdoc, typo and indentation issues. 2013-04-30 12:57:02 +02:00
Mike Meessen
690bbdb2ff Refactored / Renamed the CategoryErrorLevelActivationStrategy to the
more appropriate ChannelLevelActivationStrategy.
2013-04-30 10:57:25 +02:00
Mike Meessen
c72aff2238 Added CategoryErrorLevelActivationStrategy, which enables setting the
Error Level threshold per log channel.
2013-04-29 14:52:29 +02:00
Christophe Coevoet
d885932183 Updated the ChromePHPHandler for the new version of the extension 2013-04-23 14:22:10 +02:00
Jordi Boggiano
41d514114c Output message to the user when chrome logs have been truncated, refs #172 2013-04-23 12:05:59 +02:00
Jordi Boggiano
6275edbe75 Stop sending logs when the chrome header size limit has been reached, fixes #172 2013-04-23 11:47:22 +02:00
Jordi Boggiano
3f8c37b23c CS fixer 2013-03-28 11:41:04 +01:00
Pascal Borreli
593ddace4a Passing context as extra parameters (Additional data) fixes 171 2013-03-26 15:42:50 +00:00
Jordi Boggiano
5feb21ae1a Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170 2013-03-17 19:36:02 +01:00
Jordi Boggiano
953f21a7d8 Force log rotation on a daily basis even for long running processes, fixes #166 2013-02-21 11:03:40 +01:00
Jordi Boggiano
7f25d28a10 Simplify redis handler code 2013-02-13 18:35:40 +01:00
Jordi Boggiano
ff45cf4afa Merge remote-tracking branch 'kitchen/logstash-redis'
Conflicts:
	README.mdown
2013-02-13 18:23:43 +01:00
Jordi Boggiano
52073f4589 Merge remote-tracking branch 'cbergau/master' 2013-02-13 18:11:25 +01:00
Jordi Boggiano
458daf3040 Adjust exception message 2013-02-13 17:08:18 +01:00
Markus Staab
6c888417b6 sanitize http headers in NativeMailerHandler to prevent injections. added tests. 2013-02-13 16:19:47 +01:00
Jeremy Kitchen
e987508d06 \Redis support and LineFormatter as default
per #161, this adds support for \Redis as well as switches the
defaultFormatter out to use LineFormatter instead.
2013-02-12 17:44:20 -08:00
Jeremy Kitchen
87781ebcb4 adds a redis handler
This is useful when used in conjuction with the LogstashFormatter, but
should also be useful for any formatter where $message["formatted"] is
a string.
2013-02-11 17:39:35 -08:00
Jordi Boggiano
9dc4ffc071 Fix json encoding in ChromePHPHandler, fixes #160 2013-02-11 11:28:59 +01:00
Prajwal Tuladhar
01790263f4 apply wordwrap and implode before doing iteration 2013-02-02 15:50:01 -05:00
ChristianB
f0ba64ad4b Exception will be thrown if ZendMonitorHandler is instantiated without having Zend Server installed. 2013-01-31 12:16:16 +01:00
ChristianB
83b84ff818 Pass $record['formatted'] as the user parameter for zend monitor. Refactored test. 2013-01-31 10:39:11 +01:00
ChristianB
a2162c1787 Override getDefaultFormatter instead of creating a formatter with 'new' in method 'write'. Using levelMap again. Refactored test. 2013-01-31 07:22:52 +01:00
ChristianB
b4b2d91c67 Refactored writeZendMonitorCustomEvent signature to provide better testability 2013-01-30 21:42:59 +01:00
ChristianB
ea009c091b Format record with NormalizerFormatter before writing to ZendMonitor. 2013-01-30 19:45:54 +01:00
ChristianB
a82bac49f2 Added ZendMonitor Handler 2013-01-30 19:26:25 +01:00
Jordi Boggiano
957ee8d0d6 Fix idiocy, refs #152 2013-01-22 16:02:20 +01:00
Jordi Boggiano
01bb026750 Add BC for the sendHeaders property, fixes #152 2013-01-22 15:56:28 +01:00
Jordi Boggiano
dae7e03ae3 Fix permissions 2013-01-22 10:58:40 +01:00
Jordi Boggiano
63ddafb492 Merge remote-tracking branch 'AlexButter/master' 2013-01-22 10:56:59 +01:00