1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-25 18:46:14 +02:00
Commit Graph

1013 Commits

Author SHA1 Message Date
Oliver Byford
9f113ced3d Add a Logstash 'V1' Formatter
https://logstash.jira.com/browse/LOGSTASH-675
2013-09-04 11:59:46 +01:00
Jordi Boggiano
1518320bec Clarify/fix bubbling docs, fixes #229 2013-09-02 12:24:25 +02:00
Jordi Boggiano
933f7e26be Merge pull request #228 from odino/master
NewRelic handler: added the app name
2013-08-26 02:42:58 -07:00
odino
165778963e the appname can now be set from the handler's constructor 2013-08-26 13:20:13 +04:00
Jordi Boggiano
26f38b7aa7 Merge pull request #226 from skymeyer/buffer_handler_var_naming
Unclutter bufferSize vs bufferLimit variable name
2013-08-26 01:20:23 -07:00
odino
db3df1a1fa NewRelic handler: added the app name 2013-08-26 12:04:22 +04:00
skymeyer
5c7d1ea038 Unclutter bufferSize vs bufferLimit variable name 2013-08-23 18:30:53 -07:00
Jordi Boggiano
7a8844d4db Fix CS and add chainability to a few more setter methods, refs #221 2013-08-09 14:12:38 +02:00
Jordi Boggiano
07868bfc7e Merge remote-tracking branch 'BilgeXA/patch-1' 2013-08-09 14:10:00 +02:00
Julio Montoya
7717c4f1df Adding a new maxColumnWidth property see #217 2013-08-09 13:40:03 +02:00
BilgeXA
bbf7f20b2a Fluent interface for AbstractHandler::setFormatter() 2013-08-09 00:53:54 +01:00
ghanbari
1dd293406d can not send on Emergency Priority
https://github.com/Seldaek/monolog/issues/219
2013-08-08 20:13:40 +04:30
Henrique Moody
fd8b621a93 Refactored ErrorLogHandler to use constantes for types
- Create tests for ErrorLogHandler;
- Remove types 1, 2 and 3 in favor of specific handlers.
2013-08-01 14:05:08 -03:00
Jordi Boggiano
b33357d16b Use array_replace instead of manually looping through items 2013-07-30 13:01:58 +02:00
Jordi Boggiano
4277c5db4a CS fixes 2013-07-29 00:08:51 +02:00
Jordi Boggiano
e2e041eded Store user in a temporary property instead of hacking it into the record 2013-07-29 00:08:01 +02:00
Jordi Boggiano
e3e95f7dd6 Merge remote-tracking branch 'EmmanuelVella/patch-2' 2013-07-29 00:00:45 +02:00
Jordi Boggiano
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
df1f411378 CS fixes and set the default NewRelicHandler level to ERROR, refs #105 2013-07-28 23:11:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
fc244c0084 Make the ErrorLogger work with any logger interface object 2013-07-28 22:30:26 +02:00
Jordi Boggiano
01e1ee7541 Add tests and fix issue with array_merge 2013-07-28 21:16:34 +02:00
Jordi Boggiano
cb47b537f3 Fix feedback 2013-07-28 20:35:20 +02:00
Jordi Boggiano
fdd45cc6bc Add error handler, fixes #199 2013-07-28 19:50:36 +02:00
Jordi Boggiano
a00f102cda Rename logFormatter to batchFormatter, refs #203 2013-07-28 19:01:33 +02:00
Jordi Boggiano
87cca51a32 Fix issue in handleBatch when all records are below the minimum level, refs #203 2013-07-28 18:54:16 +02:00
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
Jordi Boggiano
a43f926ffe Abort normalization of traversables after 1000 items have been discovered, fixes #201 2013-06-07 10:26:36 +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
Jordi Boggiano
aa518ad791 Add stack traces to normalized exceptions, closes #192 2013-05-21 21:05:40 +02:00
Jordi Boggiano
e2b412846d Add API version to Logger class 2013-05-21 20:36:09 +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