1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 22:42:38 +01:00

228 Commits

Author SHA1 Message Date
Benjamin Zikarsky
c8289fd654 Updated GelfHandler/GelfFormatter
Changes monolog to use the updated official graylog2/gelf-php
2013-12-28 18:57:39 +01:00
Sergey Rabochiy
e012bf1b63 Fix boolean to string convertation. Fix double normalization.
Details bug:
$context = ["false", false]; // formatted as {"0":"false","1":"false"} when need {"0":"false","1":false}
2013-11-29 16:09:42 +07:00
Jordi Boggiano
aff8d92e29 Add caching, group exec calls in one, refs #274 2013-11-20 13:28:13 +01:00
otternq
9c57967700 adding a processor for basic git information
Adds the current Git Branch, and Git Commit key to the extra field
2013-11-16 17:40:16 -08:00
Jordi Boggiano
3987f88f2c Merge remote-tracking branch 'adlawson/dynamodb-handler'
Conflicts:
	README.mdown
	composer.json
2013-11-11 22:43:16 +01:00
Jordi Boggiano
eea4d089e7 Merge pull request #251 from skymeyer/elastic_search2
ElasticSearchHandler and ElasticaFormatter
2013-11-11 13:23:23 -08:00
Albert Casademont
899f7f52e5 Add millisecond precision in the LogstashFormatter 2013-11-11 15:50:38 +01:00
skymeyer
b1b210dba3 ElasticSearchHandler and ElasticaFormatter 2013-11-04 17:46:48 -08:00
adlawson
ac091bffcd Refactor scalar formatter
Removed some of its own logic in favor of extending NormalizerFormatter to
benefit from shared logic.
2013-11-03 20:03:45 +00:00
adlawson
471bc7fa91 Add AWS DynamoDB handler
This also adds the `aws/aws-sdk-php` dev dependency
2013-11-03 14:37:18 +00:00
adlawson
c35d4016db Add scalar value formatter 2013-11-03 13:30:04 +00:00
Jordi Boggiano
b8967466bc Combine common syslog handlers functionality, refs #258 2013-10-31 22:17:55 +01:00
Jesper Skovgaard Nielsen
16ca77c858 Removed more ['foo' => 'bar'] array notation 2013-10-31 11:06:45 +01:00
Jesper Skovgaard Nielsen
e53d6040c0 Added SyslogUdpHandler.
This handler lets you log to a remote syslogd server via UPD. The
use-case here is having many webservers, and the need to gather log-
files on a centralized server.
2013-10-31 09:41:00 +01:00
Jordi Boggiano
0f3c054dff Fix tests for 5.3 2013-10-28 10:41:17 +01:00
Tarjei Huse
b78d997638 Add logging of exception line and file path to gelf message 2013-10-27 08:29:08 +01:00
pkraeutli
f1af2c484a HipChatHandler: combine batch records and send as one 2013-10-16 10:27:55 +02:00
Matthias Pigulla
540afb4621 Add unique_id to extra data only if present in the server environment 2013-10-10 10:04:29 +02:00
Matthias Pigulla
16f05a17e3 Update AbstractProcessingHandlerTest.php 2013-10-09 00:26:59 +02:00
Matthias Pigulla
7c0edceadc Update WebProcessorTest.php 2013-10-09 00:26:02 +02:00
Florian Pfitzer
8452da04da get record with highest log level in raven batch 2013-10-03 11:57:48 +02:00
Kris Wallsmith
0f5cdb285a added level to introspection processor 2013-09-26 12:52:23 -07:00
Kris Wallsmith
8af986b161 moved stubs up so line numbers don't change 2013-09-26 12:43:13 -07:00
Jordi Boggiano
e7750814b9 Merge pull request #232 from adlawson/fix-bootstrap
Small fix to test bootstrap
2013-09-17 06:00:00 -07:00
adlawson
5d36b5df7a Fix test bootstrap autoloader
The previous `require_once` statement returns `true` when it loads the
autoload file rather than an instance of `ClassLoader`. Changing the
statement to `require` returns the instance needed to add the Monolog
test directory.
2013-09-17 13:22:30 +01:00
Jordi Boggiano
99aad2e059 Formatting fixes 2013-09-16 11:56:03 +02:00
Oliver Byford
45ae71f9a6 Merge Logstach V1 logic into the main Logstash formatter, add a parameter to the constructor to specify version
Defaults to version '0'.
2013-09-16 10:19:26 +01:00
Oliver Byford
c67470515d Fix a bug and a broken test.
Very embarrassing.
2013-09-04 13:40:43 +01:00
Oliver Byford
9f113ced3d Add a Logstash 'V1' Formatter
https://logstash.jira.com/browse/LOGSTASH-675
2013-09-04 11:59:46 +01:00
odino
abaa54d8fe removed useless test 2013-08-26 13:40:44 +04:00
odino
165778963e the appname can now be set from the handler's constructor 2013-08-26 13:20:13 +04:00
odino
db3df1a1fa NewRelic handler: added the app name 2013-08-26 12:04:22 +04:00
Jordi Boggiano
207039c326 Fix tests 2013-08-09 01:33:47 +02:00
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
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
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
01e1ee7541 Add tests and fix issue with array_merge 2013-07-28 21:16:34 +02:00
Jordi Boggiano
a00f102cda Rename logFormatter to batchFormatter, refs #203 2013-07-28 19:01:33 +02:00
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +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
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
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
Fabien Potencier
29ae147226 Improved the Raven handler when using a Buffer handler 2013-06-15 15:22:51 +02:00
David Windell
94e31e37b8 API match 2013-05-28 11:50:42 +02:00
Jordi Boggiano
aa518ad791 Add stack traces to normalized exceptions, closes #192 2013-05-21 21:05:40 +02:00