1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 16:46:11 +02:00
Commit Graph

163 Commits

Author SHA1 Message Date
Elnur Abdurrakhimov
91a0f40927 LogstashFormatter: format context and extra fields as JSON objects (#976)
BC Break
* For Logstash, format context as object instead of individual fields
* For Logstash, format extra as object instead of individual fields
2017-06-19 01:30:53 +02:00
Jordi Boggiano
ca4ffa68f6 Use namespaced phpunit classes, fixes #983 2017-06-19 00:48:54 +02:00
Jordi Boggiano
5e8bb7dfbe Make sure this works on any hostname 2017-06-19 00:42:25 +02:00
Jordi Boggiano
86e4993283 Merge remote-tracking branch 'chrisforrence/tests-replace-deprecated-methods' 2017-06-19 00:37:19 +02:00
Jordi Boggiano
b76bc133db Rename level_num to monolog_level, refs #960 2017-06-18 23:58:15 +02:00
Jordi Boggiano
56661027a7 Merge remote-tracking branch 'pupsschluepfer/master' 2017-06-18 23:49:52 +02:00
Jordi Boggiano
2551b8e3eb Merge branch '1.x' 2017-06-18 23:46:31 +02:00
Enleur
faed450d52 Use GELF max length per field and make max length configurable in constructor 2017-04-07 13:49:54 +03:00
Benjamin Pentzold
26c7de1e51 map loglevel (int-value) to log-message, as well 2017-03-28 16:04:50 +02:00
Chris Forrence
763c3afb32 Split expectException calls with two parameters into the proper two calls 2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72 Replace deprecated setExpectedException methods with expectException 2017-03-21 10:14:16 -04:00
Remon van de Kamp
23c9842285 Remove remaining artifacts from mlehner/gelf-php (#896) 2016-12-13 15:34:52 +01:00
Jordi Boggiano
0d01b2c8c7 Merge branch '1.x' 2016-10-03 20:31:55 +02:00
Jordi Boggiano
214b8ef34b Add total amount of items when aborting traversable normalization 2016-10-03 20:31:30 +02:00
Jordi Boggiano
bb61bfbe3b When newlines are allowed in LineFormatter, unpack json_encoded blobs containing newlines into multiline strings, fixes #752 2016-09-25 18:22:52 +02:00
Jordi Boggiano
96f4fd718f CS fixes 2016-09-25 17:46:38 +02:00
Jordi Boggiano
5bbbac0ce9 Maybe now? 2016-09-25 16:29:20 +02:00
Jordi Boggiano
27e439ee41 Fix datetime rounding errors on travis 2016-09-25 16:20:46 +02:00
Jordi Boggiano
ec945b60d4 Merge branch '1.x' 2016-09-18 18:10:42 +02:00
Nerijus Eimanavičius
5587f6bd3b Refactored JsonFormatter tests to more readable structure 2016-08-28 01:47:20 +03:00
Nerijus Eimanavičius
6586425a31 Better support for PHP7 \Throwable 2016-08-28 00:47:02 +03:00
Jordi Boggiano
6b0d0c4a19 Merge branch '1.x' 2016-07-29 04:53:49 +02:00
Jordi Boggiano
ced9284123 Fix tests 2016-07-29 04:51:33 +02:00
Francis Besset
8b1f522206 Added informations to normalize a SoapFault 2016-07-20 15:18:11 +02:00
Jordi Boggiano
a36b099646 Merge remote-tracking branch 'JulienBreux/feature/logmatic' 2016-07-02 15:05:16 +01:00
Jordi Boggiano
f4567f1a5f Merge pull request #808 from naderman/fix/normalizer-recusion
Normalization of arrays containing self references
2016-07-02 15:34:40 +02:00
Julien Breux
996f420205 Add Logmatic.io 2016-06-28 18:07:18 +02:00
Nils Adermann
c582a6e791 Add a test for references normalization
This is an issue in particular when $GLOBALS gets stuck into $context
2016-06-22 14:28:38 +02:00
Jordi Boggiano
814fb340ce Fix loggly formatter test 2016-05-27 14:41:24 +01:00
Jordi Boggiano
119807c80e Fix tests 2016-05-27 13:56:49 +01:00
Jordi Boggiano
21dde4dedb Move to strict mode and fix tests 2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879 CS fixes 2016-05-26 20:54:06 +01:00
Jordi Boggiano
2ff7afda31 Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560 2016-05-26 19:21:47 +01:00
Jordi Boggiano
76a91c6722 Set default date format to have a timezone, fixes #196 2016-05-26 18:04:51 +01:00
Jordi Boggiano
912d813c73 Add our own DateTime implementation to provide nicer JSON output, fixes #736 2016-05-20 21:33:27 +01:00
Jordi Boggiano
e27225dc40 Switch to DateTimeImmutable everywhere 2016-05-20 20:55:31 +01:00
Jordi Boggiano
d7b415c2c8 Make TestCase class available to dependents to help with testing 2016-05-20 20:09:02 +01:00
Jordi Boggiano
1161b23148 Fix logstash formatter tests 2016-05-20 20:07:04 +01:00
Jordi Boggiano
f6afa8624c Merge branch '1.x' 2016-04-10 12:50:34 +01:00
Christian Flothmann
b437bb928a fix Gelf message formatter tests
Version 1.4.1 is the last version compatible with PHP < 5.3.9, but
filtered all message attributes with zero string length.
2016-04-05 15:51:16 +02:00
Jordi Boggiano
ef1568b89e Merge branch '1.x' 2016-04-02 14:13:15 +01:00
Jordi Boggiano
6bc1a444db Truncate messages if they reach the max length of GELF messages, fixes #751 2016-04-02 13:53:47 +01:00
Jordi Boggiano
f29dffeb16 Merge branch '1.x' 2016-03-13 16:20:29 +00:00
Jordi Boggiano
a9ccae25cb Fix elastica formatter test, refs #742 2016-03-13 16:20:24 +00:00
Malte Blättermann
9ef18f111f Added millis 2016-03-13 16:18:47 +00:00
Jordi Boggiano
ba995ffd1e Merge branch '1.x' 2016-03-01 17:15:43 +00:00
Jordi Boggiano
5d6c2048c8 Merge pull request #724 from billybanfield/ISSUE-695
Support ext-mongodb in MongoDBHandler
2016-03-01 17:04:31 +00:00
Jordi Boggiano
25131bb5f6 Add context.* replacement in line formatter, fixes #717 2016-03-01 16:58:06 +00:00
Jordi Boggiano
b140e31884 Merge pull request #704 from dosten/unset-datetime-parameter
Unset the "datetime" parameter in LogglyFormatter
2016-03-01 15:33:13 +00:00
Jeremy Mikola
f585e714fc Support ext-mongodb's UTCDateTime class in MongoDBFormatter
The legacy driver (i.e. ext-mongo) and MongoDate are not supported on PHP 7.
2016-01-21 16:22:47 -05:00