Jordi Boggiano
fa4a173f69
Fix 5.3 syntax
2020-05-21 16:56:55 +02:00
Jordi Boggiano
acd3173c4a
Fix SoapFault when detail is nested object, fixes #1431 , refs #1462
2020-05-21 16:39:23 +02:00
theravel
9621075c0f
Fix JSON formatting of resource type, closes #1410
2019-12-20 14:49:27 +01:00
Jordi Boggiano
f97cc755af
Fix 5.3/5.4 builds
2019-11-12 22:28:59 +01:00
Jordi Boggiano
05f6ed7205
Fix php 5.3 syntax
2019-11-12 22:10:50 +01:00
Jordi Boggiano
12a76ad61e
Fix usages of json_encode which did not handle invalid UTF8 gracefully, fixes #1392
2019-11-12 21:24:23 +01:00
Jordi Boggiano
e1af546a55
Handle detail key of SoapFault being an object, fixes #1391
2019-11-12 20:49:34 +01:00
Jordi Boggiano
2efcbcd181
Remove closure stack frames entirely from log
2019-08-30 10:24:17 +02:00
Jordi Boggiano
6688b45ebe
Normalize the way backtraces are normalized and remove args for special cases, fixes #1346
2019-08-16 13:09:47 +02:00
Jordi Boggiano
3e92b08956
Avoid information leaks through call_user_func arguments, fixes #1138
2018-06-18 17:21:54 +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
Minh-Quan TRAN
ada5d30511
If context has exactly 1000 items, do not truncate
2018-06-08 22:18:08 +02:00
tnucera
678693e5ef
Add context to fluentd formatter
2018-06-07 17:47:43 +02:00
Jordi Boggiano
2ea3d95ca2
Make sure this works on any hostname
2017-06-19 02:00:36 +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
Jordi Boggiano
214b8ef34b
Add total amount of items when aborting traversable normalization
2016-10-03 20:31:30 +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
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
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
6bc1a444db
Truncate messages if they reach the max length of GELF messages, fixes #751
2016-04-02 13:53:47 +01: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
25131bb5f6
Add context.* replacement in line formatter, fixes #717
2016-03-01 16:58:06 +00:00
Javier Spagnoletti
e8e1d9efa3
Add ability to include exception's stack traces in Monolog\Formatter\JsonFormatter
...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
2015-12-31 11:24:28 -03:00
Jordi Boggiano
0178fd4f09
CS fixes, refs #683
2015-11-18 17:53:15 +00:00
Jordi Boggiano
9532e979b6
Merge remote-tracking branch 'bd808/feature/clean-json'
2015-11-18 17:50:41 +00:00
Jordi Boggiano
665453d06a
Use json_encode for the whole message formatting, refs #686
2015-11-18 17:11:02 +00:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
fordnox
034e895a6d
Do not include message levels if it is already included in tag
2015-11-15 21:23:25 +02:00
fordnox
a5552dd34d
Add fluentd formatter.
2015-11-15 20:39:30 +02:00
Bryan Davis
6f9e221bd6
Attempt to recover from json encoding errors
...
Detect and attempt to recover from json_encode errors triggered by
strings containing invalid UTF-8 sequences. Recovery will only be
attempted when encoding strings or arrays. If recovery fails then
a RuntimeException will be thrown.
The recovery process will convert invalid UTF-8 codepoints as though the
input string was encoded using the ISO-8859-15 character encoding. This
conversion may result in incorrect string output if the original
encoding was not ISO-8859-15, but it will be a valid UTF-8 string.
Closes #545
2015-11-12 10:59:27 -07:00
Anton Sergeyev
f19d9ce9a1
#673 Fix fatal error while normalizing with __toString method which may throw an exception
2015-10-25 22:44:00 +06:00
François-Xavier de Guillebon
f24867ad06
Fixed undeclared properties
2015-09-17 14:33:27 +02:00
Henrique Moody
50fb249739
Better normalization for resources
2015-08-20 15:01:24 -03:00
Jordi Boggiano
ca1376bd61
CS fixes
2015-07-14 10:26:05 +01:00
Jordi Boggiano
bfe5081735
Fix idiotic sunday
2015-07-12 14:05:44 +01:00
Jordi Boggiano
558678b420
Adjust check for php5.3/5.4
2015-07-12 14:01:43 +01:00
Jordi Boggiano
0c8a92af47
Throw exception when json encoding fails and errors are not ignored, fixes #545
2015-07-12 13:44:48 +01:00
Jordi Boggiano
131b27d113
Update test for 5.4/5.3
2015-06-01 22:33:28 +01:00
Jordi Boggiano
1a1f506f0e
Fix up #546 to json serialize correctly
2015-06-01 21:42:42 +01:00
Dmitrii Raev
b1f2e2f5ec
Change Test.. но __toString method called..
2015-04-23 23:54:00 +03:00
Jordi Boggiano
d434bb4794
Add INF/NaN normalization, fixes #523
2015-03-05 00:57:49 +00:00
Jordi Boggiano
5cd99de56d
Accept incomplete records in GelfMessageFormatter, closes #482
2015-03-01 13:59:22 +00: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
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