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

1524 Commits

Author SHA1 Message Date
milos
38367d3f48 add support to define writetimeout in ms 2020-11-30 17:42:04 +01:00
milos
1106f259c2 add support to define writetimeout in ms 2020-11-30 17:40:22 +01:00
Jordi Boggiano
2ff542495a Merge pull request #1485 from vudaltsov/patch-1
Fixed TelegramBotHandler constructor
2020-08-22 12:16:38 +02:00
Jordi Boggiano
b4728db7d3 Merge pull request #1488 from previousnext/path-sockets
Adds support for unix sockets
2020-08-22 12:15:55 +02:00
Koen Eelen
fad3e427c7 Made the check in substr() strict compare to NULL 2020-08-18 16:32:06 +02:00
Koen Eelen
0af0cd8338 BUGFIX substr() broke when passing a NULL because of strict type in case mb mod not installed 2020-08-14 11:41:52 +02:00
Kim Pepper
1eaf4c2bf5 Change protocol 2020-08-14 10:29:13 +10:00
Kim Pepper
bf1a76edb4 Adds support for unix sockets 2020-08-13 14:06:38 +10:00
Valentin Udaltsov
c282728812 Update TelegramBotHandler.php
Parameters `$level` and `$bubble` are already passed to parent constructor, no need to set them again.

Also setting `$level` without `setLevel()` makes it incomparable as it is not converted to int via `Logger::toMonologLevel()`.
2020-07-27 12:50:54 +03:00
Jordi Boggiano
6541075a8e Merge branch '1.x' 2020-07-23 10:38:28 +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
Mponos George
a54cd1f178 Replace call_user_func 2020-07-08 23:02:57 +03:00
Mponos George
53e2c97b0b Static analysis improvements (#1475)
* Static analysis improvements

* Fix review issues
2020-07-08 21:40:29 +02:00
Jordi Boggiano
84342aa0a3 Merge branch '1.x' 2020-07-08 21:27:58 +02:00
Jordi Boggiano
0ae6fd8a09 Fix removing of json options, fixes #1469 2020-07-08 21:09:28 +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
71c124b11a Merge pull request #1473 from alexleeelkins/master
Fix grammatical error
2020-07-08 20:59:43 +02:00
Jordi Boggiano
1eafcbf040 Allow null subjects in SwiftMailerHandler, fixes #1479 2020-07-08 11:59:01 +02:00
Mponos George
c6a56f0e33 Allow string also for level 2020-06-22 21:39:58 +03:00
Mponos George
4ef697d912 [Sendgrid] Allow int or string on sendgrid handler 2020-06-22 21:31:17 +03:00
Alex Elkins
27ce3a47d4 Fix grammatical error 2020-06-09 21:43:19 -04:00
Jérémy DECOOL
ec3b35f72c Fix array offset access on null in RavenHandler 2020-06-04 23:13:45 +02:00
Pascal Sommer
7a801dd041 Telegram Handler: support additional API parameters (#1451) 2020-05-22 08:44:02 +02:00
Jordi Boggiano
de87dad98f Fix CS 2020-05-21 17:02:48 +02:00
Jordi Boggiano
5f2ee3292e Merge remote-tracking branch 'neclimdul/SoapFaultObjectFailure' 2020-05-21 17:01:29 +02:00
Jordi Boggiano
eb4dc3aa6b Merge branch '1.x' 2020-05-21 16:59:46 +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
James Gilliland
2066ce89d0 Fix SoapFault detail with nested object
Fixes #1431
2020-05-15 12:59:17 -05:00
Gabriel Caruso
6038dcb21c JsonFormatter: add option to ignore empty context and extra fields
Similar to efe572cb10.
2020-05-15 13:45:36 +02:00
Jordi Boggiano
eb84930e70 Make NormalizerFormatter::addJsonEncodeOption/removeJsonEncodeOption public, fixes #1446 2020-05-11 21:50:47 +02:00
Jordi Boggiano
ab01f390c7 Add JSON_INVALID_UTF8_SUBSTITUTE flag to default json_encode flags, refs #1446, fixes #1203 2020-05-11 21:50:15 +02:00
Jordi Boggiano
ded9976021 Merge branch '1.x' 2020-05-11 21:43:55 +02:00
Pierre Grimaud
ff3128b487 Fix typos 2020-04-28 18:57:34 +02:00
jambert
a14890834a Registry class not used in ErrorHandler 2020-04-04 15:37:48 +02:00
Henrique Serrat
280f6a131f Check that is not null before calling preg_match 2020-03-13 11:25:08 -03: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
Antoine Makdessi
c0f8ed9797 Update html color 2020-01-07 14:49:18 +01:00
Jordi Boggiano
c861fcba2c Fix indentation 2019-12-20 15:22:59 +01:00
Jordi Boggiano
a8a0dbb778 Merge branch '1.x' 2019-12-20 14:53:43 +01:00
theravel
9621075c0f Fix JSON formatting of resource type, closes #1410 2019-12-20 14:49:27 +01:00
Fabien
39c7e04ad4 Set phpredis multi() mode parameter 2019-12-19 21:45:05 +01:00
Jordi Boggiano
596348e5c3 Merge pull request #1400 from tpraxl/fix/docblock
Fix misleading @throws tag in StreamHandler doc
2019-12-07 16:40:45 +01:00
Jordi Boggiano
633bcd5268 Also fix SoapFault handling in LineFormatter, refs #1391 2019-12-07 16:37:53 +01:00
Jordi Boggiano
798cbf9881 Merge branch '1.x' 2019-12-07 13:18:19 +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
Karolis
33794125e3 ElasticsearchHandler indentation fixes 2019-12-07 10:11:40 +00:00
Karolis
c8cd53dc0f More detailed ElasticsearchHandler exceptions 2019-12-07 10:08:00 +00:00
Thomas Praxl
764601c606 Expect and document a more concrete exception type
As was proposed during review.
2019-11-25 12:01:34 +01:00
Jordi Boggiano
11fb4f9270 Merge branch '1.x' 2019-11-15 15:56:08 +01:00