1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-09-01 01:01:46 +02:00

1722 Commits

Author SHA1 Message Date
Jordi Boggiano
1817faadd1 Update changelog 1.25.5 2020-07-23 10:35:51 +02:00
axell-brendow
bcca19cee0 Improve exception message
This exception is commonly thrown in Laravel applications when using Docker.
But it is not clear why the system could not open a file that has read permission
for all users. So, when I came to the code of Monolog I saw that you try to open it
in append mode, so I think that just adding this information could help a lot other
users.
2020-07-23 10:34:11 +02:00
Jordi Boggiano
c3a05db90c Fix unique_id in WebProcessor not being disableable, fixes #1470 2020-07-08 21:01:20 +02:00
Jordi Boggiano
6eee2fa4d4 Merge pull request #1472 from jdecool/avoid-array-accesson-on-null
Fix array offset access on null in RavenHandler
2020-07-08 21:00:48 +02:00
Jérémy DECOOL
ec3b35f72c Fix array offset access on null in RavenHandler 2020-06-04 23:13:45 +02:00
Jordi Boggiano
3022efff20 Update changelog 1.25.4 2020-05-22 09:31:27 +02:00
Jordi Boggiano
b5260af0d1 Also remove deprecation warnings when running outside of travis on php 7.4 2020-05-22 09:30:27 +02:00
Jordi Boggiano
6f9b0a5ff2 Remove deprecation warnings on 7.4 2020-05-22 09:27:32 +02:00
Jordi Boggiano
a73b4036c5 Build updates 2020-05-22 09:10:51 +02:00
Jordi Boggiano
fa4a173f69 Fix 5.3 syntax 2020-05-21 16:56:55 +02:00
Jordi Boggiano
c50950d79e Canonicalize paths when constructing RotatingFileHandler/StreamHandler, fixes #1326 2020-05-21 16:54:57 +02:00
Jordi Boggiano
acd3173c4a Fix SoapFault when detail is nested object, fixes #1431, refs #1462 2020-05-21 16:39:23 +02:00
Jordi Boggiano
74f92ea154 Remove lock file 2020-05-11 21:42:25 +02:00
Jordi Boggiano
21c7b7610d Remove abandoned dep, fixes #1445 2020-05-11 21:36:52 +02:00
Jordi Boggiano
31dc2304a1 Merge pull request #1447 from symfonyaml/patch-1
Registry class not used in ErrorHandler
2020-05-11 21:36:03 +02:00
jambert
a14890834a Registry class not used in ErrorHandler 2020-04-04 15:37:48 +02:00
Jordi Boggiano
5c670ec3d2 Merge pull request #1438 from rickserrat/hotfix/gitprocessor
Check that  is not null before calling preg_match
2020-03-13 17:46:09 +01:00
Henrique Serrat
280f6a131f Check that is not null before calling preg_match 2020-03-13 11:25:08 -03:00
Jordi Boggiano
cc6d6c3a0d Merge pull request #1430 from alexander-schranz/patch-1
Fix typehint for AbstractHandler level parameter
2020-02-14 18:17:22 +01:00
Alexander Schranz
ed46997f58 Fix typehint for AbstractHandler level parameter
The level parameter of the AbstractHandler supports also the PSR levels as strings e.g. `\Psr\Log\LogLevel::ERROR` or from a ENV variable `CUSTOM_ERROR_HANDLER_LEVEL=error`
2020-01-30 17:41:20 +01:00
Jordi Boggiano
fa82921994 Update changelog 1.25.3 2019-12-20 15:15:16 +01:00
theravel
9621075c0f Fix JSON formatting of resource type, closes #1410 2019-12-20 14:49:27 +01:00
Jordi Boggiano
0d733f9297 Merge pull request #1414 from GrahamCampbell/patch-1
Update .travis.yml
2019-12-20 14:08:58 +01:00
Graham Campbell
96ec86aaa1 Update .travis.yml 2019-12-20 09:59:49 +00:00
Jordi Boggiano
d25bb38d78 Merge pull request #1412 from fbnfgc/patch-1
Set phpredis multi() mode parameter
2019-12-20 09:52:46 +01:00
Fabien
39c7e04ad4 Set phpredis multi() mode parameter 2019-12-19 21:45:05 +01:00
Jordi Boggiano
b928039c23 Merge pull request #1406 from mpdude/fix-tr-locale
Fix a bug when using string-based loglevels in the `tr_TR` locale
2019-12-07 13:16:30 +01:00
Matthias Pigulla
f8245696b3 Use strtr() instead of strtoupper() to avoid bogus results
For examle the tr_TR locale will upper-case "i" to the
"latin capital letter i with dot above" İ.
2019-12-07 11:40:26 +00:00
Jordi Boggiano
ea216b0e2f Merge pull request #1402 from dmaicher/issue-1401
FilterHandler: fix handle empty batch of filtered records
2019-11-15 15:47:16 +01:00
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
Jordi Boggiano
d5e2fb341c Add missing use statement 1.25.2 2019-11-13 11:00:05 +01:00
Jordi Boggiano
ac44cccd84 Update changelog 2019-11-13 10:54:16 +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
f97cc755af Fix 5.3/5.4 builds 2019-11-12 22:28:59 +01:00
Jordi Boggiano
dc2895c80d Suppress errors when json_encode has ignoreErrors set 2019-11-12 22:18:23 +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
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
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
Jordi Boggiano
bb78e060e4 Merge pull request #1384 from amino-garricklam/skip_normalize_traversable
JsonFormatter: Don't even try to attempt normalizing iterators or generators in context
2019-11-11 10:04:19 +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
Jordi Boggiano
bd95e23bd2 Merge pull request #1375 from DavidPrevot/perm
Fix file permission
2019-09-09 13:53:32 +02:00
David Prévot
c404cb3240 Fix file permission 2019-09-07 21:23:23 -10:00
Jordi Boggiano
70e65a5470 Update changelog 1.25.1 2019-09-06 15:49:17 +02:00
Jordi Boggiano
c4553a1a53 Merge pull request #1374 from lyrixx/future
Fixed forward compatibilty layer
2019-09-06 15:46:15 +02:00
Grégoire Pineau
626bde6159 Fixed forward compatibilty layer 2019-09-06 14:58:11 +02:00