Stepan Mazurov
c1fd9cddf2
Added overwriting of user context to RavenHandler
2015-02-27 16:43:19 -07:00
Jordi Boggiano
ab3d7c4898
Remove useless functional test
2015-02-25 16:48:51 +00:00
dtarasov
ad5d65b262
#508 add hasLogger method to Monolog\Registry
2015-02-18 11:56:56 +03:00
korchasa
01549ec4d0
Switch HipChatHandler to API v2
2015-02-03 20:39:09 +03:00
John Kary
6c1836467c
Restore ability to continue using mlehner/gelf-php in test
...
Was previously broken by a coding standard commit 392ef35fd470638e08d0160d6b1cbab63cb23174
2015-01-20 00:08:01 -06:00
louis
2ae33f7382
bugfix: use custom hipchat server in buildHeader method
2014-12-30 11:31:36 +01:00
Jordi Boggiano
d7b0a0a20b
Fix CS
2014-12-29 20:46:15 +00:00
Jordi Boggiano
5ce2b38b3b
Fixing tests and CS, refs #468
2014-12-29 20:45:41 +00:00
Jordi Boggiano
ad4f488bc0
Merge remote-tracking branch 'flowpl/master'
2014-12-29 20:37:12 +00:00
Florian Plattner
04648dba78
some cleanup
2014-12-29 20:38:08 +01:00
Jordi Boggiano
dcfae95e6b
Merge remote-tracking branch 'flowpl/add_newrelic_name_transaction'
2014-12-29 19:24:06 +00:00
Jordi Boggiano
8160b302a2
Bring sampling handler in line with other wrapper handlers
2014-12-28 17:05:54 +00:00
Jordi Boggiano
45f5c7d2d1
Merge remote-tracking branch 'legoktm/sampling'
2014-12-28 16:55:04 +00:00
Jordi Boggiano
10a3bfa930
Merge pull request #440 from mikesherov/exceptionCodes
...
Adds exception codes to the exception data in NormalizeFormatter
2014-12-28 16:40:10 +00:00
Jordi Boggiano
27f2ab89a8
Merge pull request #472 from danmichaelo/master
...
SyslogUdpHandler: Send a valid rfc5424 version
2014-12-28 16:29:00 +00:00
Jordi Boggiano
3e1b8a7afe
Remove code duplication, refs #435
2014-12-28 16:28:20 +00:00
Jordi Boggiano
515a096c86
Prevent header injection through content type / encoding in NativeMailerHandler, fixes #458 , closes #448
2014-12-28 14:32:10 +00:00
Kunal Mehta
d79400bade
Add a SamplingHandler
...
It wraps around another handler, and only passes on some messages
based on the provided sampling handler.
This was originally written for MediaWiki: https://gerrit.wikimedia.org/r/181346
2014-12-23 12:12:54 -08:00
Florian Plattner
e6e2457c55
added support for newrelic_name_transaction() to NewRelicHandler
2014-12-18 00:16:03 +01:00
Jordi Boggiano
5bee6fe56c
Fix syslog transport to follow the spec closer, fixes #476
2014-12-17 10:47:08 +00:00
Thomas Ploch
50b6bf45d1
Use different testing pattern for PHP 5.4 and PHP 5.5
2014-12-16 13:46:06 +01:00
Thomas Ploch
e66ba56cc0
Fixed array()
usage and added HHVM_VERSION
check
2014-12-16 13:35:22 +01:00
Thomas Ploch
dca8f5841f
Normalize frames for trace items since they can contain invalid data.
...
Refs https://github.com/Seldaek/monolog/pull/474/files
The fix in the previous PR did not take into account that there might be object wrapped resources that would break json_encode, so the best solution would be normalizing those frames again.
@Seldaek Sorry for the inconvenience, but our graylog is still ramming up with those json_encode error messages.
2014-12-16 13:26:24 +01:00
Jordi Boggiano
2d192b0567
Skip test in hhvm
2014-12-16 11:04:16 +00:00
Jordi Boggiano
d7561931a5
Attempt to fix hhvm build
2014-12-16 10:34:35 +00:00
Thomas Ploch
00bfec630a
Recursively check for resource arguments if trace is coming from internal function.
...
With `React` or `Guzzle`, that register stream wrappers with PHP, the traces are treated as coming from internal functions with no line and file inside the frame. But they almost always contain resources as arguments, on which the `json_encode()` call will choke (probably this should be addressed in json_encode internally, since it is very easy to cast a resource to a string).
I added a test case proving the situation and a pretty basic recursive checker for resources which just casts them as a string into the frame again.
2014-12-16 10:13:12 +01:00
Dan Michael O. Heggø
04094e5d99
SyslogUdpHandler: Send a valid rfc5424 version
...
https://tools.ietf.org/html/rfc5424#section-6.2.2
2014-12-11 00:25:16 +01:00
Florian Plattner
d6f11d6ba3
Add MongoDBFormatter
2014-12-06 12:52:15 +01:00
Sergey Chizhik
21c54ac660
fix
2014-12-05 14:36:37 +02:00
Sergey Chizhik
7902b8c396
Add exception code
2014-12-04 18:42:38 +02:00
Mike Sherov
f5fe05c27f
Adds exception codes to the exception data in NormalizeFormatter
2014-10-23 15:33:29 -04:00
Jordi Boggiano
f835cd21e4
Make 5.3 compliant and faster call to wrapped logger, refs #437
2014-10-21 10:22:09 +01:00
Michael Moussa
979be11760
Added PsrHandler
...
This handler allows applications introducing Monolog to continue using
their existing PSR-3 compliant logger(s) in conjunction with the various
Monolog handlers available.
2014-10-20 23:27:55 -04:00
Jordi Boggiano
b738a6c04c
CS fixes
2014-10-17 19:12:45 +01:00
Jordi Boggiano
940cbe15ab
Move the class off in the tests
2014-10-04 16:43:06 +01:00
Jordi Boggiano
1e47b2788a
Merge pull request #430 from moderndeveloperllc/master
...
NewRelicHandler: Account for arrays sent in context and extra parameters
2014-10-04 12:53:35 +01:00
Mark Garrett
bc2d882967
Account for context and extra params that are sent as arrays (GitProcessor for one). New __construct param is optional and set to false to emulate current feature set.
2014-09-30 16:42:07 -05:00
Jordi Boggiano
d2ec7648d0
Move iconEmoji param upfront since Slack was never in a stable release
2014-09-30 14:28:08 +01:00
Jordi Boggiano
31358c858f
Add missing license headers
2014-09-30 14:24:28 +01:00
Jordi Boggiano
feb19af2d4
Add support for PSR-3 levels to all public APIs accepting levels, fixes #421
2014-09-30 13:59:45 +01:00
Jordi Boggiano
0d09e2f8a0
Merge pull request #426 from acdameli/master
...
New Handler: WhatFailureGroupHandler
2014-09-30 11:56:29 +01:00
Jordi Boggiano
75afd5946d
Merge pull request #428 from moderndeveloperllc/master
...
NewRelicHandler: Prevent newrelic_add_custom_parameter() overwriting
2014-09-30 00:02:29 +01:00
Jordi Boggiano
0edd89d556
CS fixes
2014-09-29 23:07:02 +01:00
Jordi Boggiano
60f8561ffa
Merge remote-tracking branch 'anroots/feature/fleep'
...
Conflicts:
README.mdown
2014-09-29 23:03:32 +01:00
Jordi Boggiano
4f85e5570c
Merge pull request #413 from fotomerchant/feature/slackEmoji
...
Added Emoji support for the Slack Handler
2014-09-29 22:58:47 +01:00
Mark Garrett
e7647fd37d
Add prefixes to the context and extra record keys. Needed as some processors have the same keys as the the context. Specifically, the IntrospectionProcessor has "line" and "file" that can overwrite an error context "line" and "file".
2014-09-29 11:04:41 -05:00
Craig D'Amelio
14207dfbf7
Strip documentation, don't want to overstate.
2014-09-24 13:48:03 -04:00
Craig D'Amelio
d7939f3463
Test suite and supporting handler for WhatFailureGroupHandler
2014-09-24 13:45:06 -04:00
Theo Kouzelis
9752eb9bf3
Removed unnecessary test code and corrected doc style
2014-09-20 12:05:16 +01:00
Theo Kouzelis
b838c31b21
Stream Handler Throw Invalid Argument If Not String Or Resource
2014-09-17 21:35:11 +01:00