Jordi Boggiano
3c3ff5881c
Avoid calling nested handler entirely if there is nothing left to handle
2019-11-15 15:46:53 +01:00
David Maicher
525d29847a
FilterHandler: fix handle empty batch of filtered records
2019-11-15 13:07:02 +01:00
Thomas Praxl
3dcb1919a3
Fix misleading @throws tag in StreamHandler doc
...
The `\Exception` for non-existing and not creatable paths is thrown earliest on first write.
Not during StreamHandler instantiation, as claimed by the constructor's `@throws` tag.
2019-11-15 09:07:02 +01:00
Jordi Boggiano
f9d56fd2f5
Prepare changelog
2019-11-13 11:27:43 +01:00
Jordi Boggiano
e5309196ce
Merge branch '1.x'
2019-11-13 11:00:16 +01:00
Jordi Boggiano
d5e2fb341c
Add missing use statement
2019-11-13 11:00:05 +01:00
Jordi Boggiano
4e19f3c585
Merge branch '1.x'
2019-11-13 10:58:42 +01:00
Jordi Boggiano
4a70fb3353
Add formatter forwarding to BufferHandler as well
2019-11-13 10:51:07 +01:00
Jordi Boggiano
ec3e0e3f90
set json flags correctly for SlackRecord, fixes #1396 , closes #1397
2019-11-13 10:47:25 +01:00
Jordi Boggiano
dc2895c80d
Suppress errors when json_encode has ignoreErrors set
2019-11-12 22:18:23 +01:00
Jordi Boggiano
9776fa1d54
Fix type error, fixes #1382
2019-11-12 21:52:37 +01:00
Jordi Boggiano
0b9ee7e636
Merge branch '1.x'
2019-11-12 21:50:28 +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
cf77550dca
Make sure all exception codes are integers, fixes #1393
2019-11-12 20:38:27 +01:00
Trevor North
0ff3a9bd03
Fix BrowserConsoleHandler formatting
...
This resolves an issue whereby all styles would be applied in reverse
order to the formatting markers.
2019-11-12 20:36:02 +01:00
Jordi Boggiano
ae84612017
Merge branch '1.x'
2019-11-11 18:34:16 +01:00
Jordi Boggiano
65f1f304d4
Add forwarding of formatter functions to nested handlers in Sampling, Filter and FingersCrossed handlers, and fix handling of callable factory handler config, fixes #1386 , closes #1387
2019-11-11 18:21:38 +01:00
Garrick Lam
b271cd4294
Don't even try to attempt normalizing iterators or generators in context
...
Iterators and Generators may not be rewindable, so foreach is not safe
to use on them.
Iterators and especially Generators may trigger irreversible actions on
calling next(), so iterating over all values can potentially cause harm,
e.g. imagine an iterator over a set of HTTP POST requests that are sent
when the next value is requested . The only sufficiently safe thing to
iterate and include here are primitive arrays.
2019-11-08 10:49:56 +08:00
Alexander Dmitryuk
3a2d7379a7
HtmlFormatter addRow cast key to string
2019-11-05 14:22:27 +07:00
David Prévot
c404cb3240
Fix file permission
2019-09-07 21:23:23 -10:00
Grégoire Pineau
626bde6159
Fixed forward compatibilty layer
2019-09-06 14:58:11 +02:00
Jordi Boggiano
40cce3ba0b
Merge branch '1.x'
2019-09-05 14:38:58 +02:00
Jordi Boggiano
4bfd341586
Fix type error, fixes #1369
2019-09-05 14:38:03 +02:00
Pierre Lannoy
c8b0d08ceb
Change chrome header size limit
...
Due to change in chromium header size support, the size limit enforced by the handler must be decreased.
2019-09-05 13:28:42 +02:00
Grégoire Pineau
6d76eaaf76
Backport Interface and Trait from master to 1.X
2019-09-05 11:02:35 +02:00
Gabriel Machado
0ffb4e2811
update exception message in InsightOpsHandler
2019-09-01 16:09:08 -03:00
Jordi Boggiano
9b5deda678
Merge pull request #1290 from versh23/fix-gelp-formtatter
...
use mb_ functions everywhere if possible
2019-08-30 11:20:47 +02:00
Jordi Boggiano
57b286f3d1
Reuse normalizeException from NormalizerFormatter in JsonFormatter, fixes #1366
2019-08-30 10:40:17 +02:00
Jordi Boggiano
acf8e9e9a3
Merge branch '1.x'
2019-08-30 10:39:21 +02: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
c5a5461624
Merge remote-tracking branch 'Pierre-Lannoy/patch-1'
2019-08-16 09:42:40 +02:00
Jordi Boggiano
b615b158e4
Fix class import and indenting
2019-08-16 09:13:44 +02:00
Pierre Lannoy
144f2299ed
Improvement for the fix
...
To follow @Seldaek improvement recommendations.
Sorry for the rookie mistakes :)
2019-08-15 23:23:59 +02:00
Jordi Boggiano
e7928ced23
Merge pull request #1355 from ScullWM/error_handler_signature
...
Fix error_handler return type declaration
2019-08-15 21:25:15 +02:00
Jordi Boggiano
4a26052806
Merge remote-tracking branch 'inverse/fallbackgroundhandler'
2019-08-15 21:23:11 +02:00
Jordi Boggiano
5fea290626
Fix GroupHandler/WhatFailureGroupHandler to use ProcessableHandlerTrait helper always
2019-08-15 21:21:33 +02:00
Jordi Boggiano
330988295a
Merge remote-tracking branch 'origin/1.x'
2019-08-15 21:19:47 +02:00
Nicolas Grekas
a5876bed1d
Add explicity void return type to Monolog\Logger
2019-08-15 09:12:24 +02:00
Malachi Soord
ab236865a7
Add FallbackGroupHandler
2019-08-13 17:55:34 +02:00
Thomas Perez
4e095f38f4
Fix error_handler return type declaration
2019-07-31 22:19:02 +02:00
Pierre Lannoy
226bc5fdf4
Fix for SyslogUdpHandler timezone issue
...
Hello!
As described in [this issue](https://github.com/Seldaek/monolog/issues/1350 ), SyslogUdpHandler doesn't respect `Logger` timezone setting for IETF (RFC-5424) syslog format.
This PR is a fix for this issue.
2019-07-22 16:54:07 +02:00
Jason Davis
ca3a914276
Update for compatibility with actively maintained versions of Zend Server
2019-07-12 11:57:06 -07:00
vershinin_so
ad39412eb0
type hint
2019-07-11 09:37:46 +03:00
vershinin_so
f8de7cf628
use mb_* when needed
2019-07-08 18:04:33 +03:00
vershinin_so
ecd871b624
fix TypeError
2019-07-08 11:09:29 +03:00
vershinin_so
c79d81ec28
mb_* functions with BC
2019-07-08 11:05:19 +03:00
vershinin_so
ada57dd4a1
use mb_ functions in GelfFormatter
2019-07-08 10:30:25 +03:00
Jordi Boggiano
8b1213aa1e
Merge branch '1.x'
2019-07-06 14:49:15 +02:00