1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 03:41:29 +02:00

231 Commits

Author SHA1 Message Date
Jordi Boggiano
873ac681a6 Merge branch '1.x' 2018-06-18 17:27:30 +02:00
Jordi Boggiano
3e92b08956 Avoid information leaks through call_user_func arguments, fixes #1138 2018-06-18 17:21:54 +02:00
Jordi Boggiano
90d343e6a6 Merge pull request #1057 from CarsonF/logstash-context-prefix
Change LogstashFormatter prefix properties to keys
2018-06-18 11:03:19 +02:00
Andrew Berry
0d993d84d1 Normalization of arrays containing self references (#1050)
Backport normalization fix from master to 1.x
2018-06-17 17:27:33 +02:00
Jordi Boggiano
c7b12a7497 Json formatter should always format context/extra as an object, fixes #1028 2018-06-09 17:02:23 +02:00
Jordi Boggiano
800fe2cc1a Migrate maxNormalizeDepth/maxNormalizeItemCount props and setters to NormalizerFormatter 2018-06-08 23:09:04 +02:00
Jordi Boggiano
518288c5c5 Merge branch '1.x' 2018-06-08 22:32:06 +02:00
Minh-Quan TRAN
ada5d30511 If context has exactly 1000 items, do not truncate 2018-06-08 22:18:08 +02:00
Jordi Boggiano
101daad3ce Merge pull request #1133 from DQNEO/compat-phpunit6
Compatible to phpunit6
2018-06-08 16:44:50 +02:00
Tom Rochette
68cf3c69d1 Allow JsonFormatter maximum normalized depth and maximum number of items per level to be configured in the constructor. 2018-06-07 14:15:50 -04:00
Jordi Boggiano
3319969e80 Merge branch '1.x' 2018-06-07 17:49:12 +02:00
tnucera
678693e5ef Add context to fluentd formatter 2018-06-07 17:47:43 +02:00
Avtandil Kikabidze
3bbdf5868b Use right format for date 2018-04-07 04:11:03 +04:00
Avtandil Kikabidze
ca326c4831 Fix class name 2018-04-07 03:56:17 +04:00
Avtandil Kikabidze
32563c49b7 Add elastic search formatter 2018-04-07 03:11:24 +04:00
DQNEO
39f464bd58 make compatible to phpunit 6 2018-04-02 00:54:21 +09:00
Carson Full
a21b037a00 Change LogstashFormatter to have extra/context keys instead of prefixes for the keys. 2017-10-03 12:22:44 -05:00
Jordi Boggiano
2ea3d95ca2 Make sure this works on any hostname 2017-06-19 02:00:36 +02:00
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