1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-29 07:50:05 +02:00

1563 Commits

Author SHA1 Message Date
Jordi Boggiano
1cb1cde8e8 Update changelog 2020-12-14 14:15:25 +01:00
Jordi Boggiano
546dc0843d Fix comparison 2020-12-14 13:49:05 +01:00
Jordi Boggiano
3ee78ae731 Simplify timeout handling and really allow millisecond precision, refs #1517 2020-12-14 13:34:59 +01:00
Jordi Boggiano
1850160a4f Merge remote-tracking branch 'milos-silni/add-support-ms-writetimeout' into main 2020-12-14 13:29:15 +01:00
Jordi Boggiano
ff4378dfbe Mark elasticaFormatters $type arg as deprecated 2020-12-14 13:26:29 +01:00
Jordi Boggiano
5fbd261d89 Merge pull request #1523 from patrickkusebauch/feature/Elastica
Support for Elastica client up to v7.0.0, with optional drop support for ES types
2020-12-14 13:16:06 +01:00
Jordi Boggiano
9fc7a8a810 Allow changing the date format after normalizer creation, fixes #1459 2020-12-11 13:31:25 +01:00
Jordi Boggiano
61e5ff2b36 Fix more instances of bad FormattableHandlerInterface usages 2020-12-11 13:11:50 +01:00
patrickkusebauch
76639ef02b Elastica up to 7 support 2020-12-11 10:55:38 +01:00
Jordi Boggiano
863670fa94 Avoid sending unicode chars in headers for Wildfire/FirePHPHandler/ChromePHPHandler, fixes #1521 2020-12-10 17:14:28 +01:00
Jordi Boggiano
9ce0431191 Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515 2020-12-10 16:22:24 +01:00
Jordi Boggiano
d356586239 Type hint fixes 2020-12-10 16:04:54 +01:00
Jordi Boggiano
f8c98ee2ba Fix typo 2020-12-10 14:56:54 +01:00
Jordi Boggiano
80644c65ed Remove unnecessary condition 2020-12-10 14:56:28 +01:00
Jordi Boggiano
9ab131c225 Merge pull request #1503 from gfaugere/redispubsub
Adding Redis Pub/Sub handler (closes #574)
2020-12-10 14:32:30 +01:00
Jordi Boggiano
df4d93f148 Simplify addRecord further by doing a single foreach over all handlers, refs #1489 2020-12-10 14:30:02 +01:00
Jordi Boggiano
c203cf84b5 Merge remote-tracking branch 'AntonAcc/speed-up-add-record' into main 2020-12-10 14:05:33 +01:00
Jordi Boggiano
4b4b17256b Merge branch '1.x' into main 2020-12-10 12:09:26 +01:00
Jordi Boggiano
7a2ee8d603 Merge pull request #1514 from idevin/patch-1
remove @internal annotation
2020-12-10 11:08:42 +01:00
Jordi Boggiano
5881690949 Merge pull request #1512 from perevoshchikov/fix/handler-wrapper
Adds return value in handler wrapper
2020-12-10 11:04:50 +01:00
Jordi Boggiano
6165cdc115 Merge pull request #1507 from adrianpanicek/master
Allow string numeric log levels
2020-12-10 11:02:32 +01:00
Jordi Boggiano
bf794fe18a Merge pull request #1496 from Pierre-Lannoy/patch-1
Support for extended RFC5424 timestamp format
2020-12-10 10:00:58 +01:00
Jordi Boggiano
e6e43ca097 Use Utils::jsonEncode to encode json correctly 2020-12-10 09:57:10 +01:00
Jordi Boggiano
2bb3ffa6e0 Merge remote-tracking branch 'redmatter/backport-psr-log-message-processor-from-v2' into 1.x 2020-12-10 09:55:19 +01:00
Павел Гвоздь
1c9c3676e6 Added support for working with BufferHandler (#1481)
* Added support for working with BufferHandler

Added `handleBatch` method for TelegramBotHandler and fixed `write` method.

This is necessary to work with BufferHandler, OverflowHandler etc.
2020-12-10 09:51:46 +01:00
Jordi Boggiano
d284c2a35d Merge pull request #1518 from bocharsky-bw/patch-1
Remove duplicated article in PHPDoc comment
2020-12-09 23:31:17 +01:00
Jordi Boggiano
ec146b38bd Build tweaks 2020-12-09 23:22:08 +01:00
Jordi Boggiano
fd305da67b Add support for PHP8 CurlHandler/Socket instead of resources 2020-12-09 16:39:57 +01:00
Jordi Boggiano
c5853b9b0f Improve build 2020-12-09 16:39:34 +01:00
Jordi Boggiano
bd9570d835 Merge branch '1.x' into main 2020-12-09 14:19:00 +01:00
Jordi Boggiano
279cf6a900 Migrate to GH actions, add phpstan 2020-12-09 13:49:22 +01:00
Victor Bocharsky
6087181108 Remove duplicated article in PHPDoc comment 2020-11-30 23:01:43 +02:00
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
idevin
6ad9e52f5d remove @internal annotation
getClass is not internal method
2020-11-19 05:48:57 +03:00
Anton Perevoshchikov
1b5dcaad88 Adds return value in handler wrapper 2020-11-07 17:05:17 +03:00
Adrián Paníček
4813c673bd Allow string numeric log levels 2020-10-27 11:04:07 +01:00
Faugère Gaëtan
7640be31a1 Adding Redis Pub/Sub handler (closes #574) 2020-10-01 17:30:47 +02:00
Pierre Lannoy
36e25bafe0 Support for extended RFC5424 timestamp format
As described in [RFC5424 Timestamp format](https://tools.ietf.org/html/rfc5424#section-6.2.3), it is allowed to send second fraction as doted mili (3 digits) or micro (6 digits) in syslog messages. I suggest this modest PR to support it.
2020-09-03 14:22:34 +02: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
Anton Gorlanov
2d50668658 Speed up Logger::addRecord 2020-08-13 12:53:19 +03:00
Kim Pepper
bf1a76edb4 Adds support for unix sockets 2020-08-13 14:06:38 +10:00
Dino Korah
fa78dd4400 Backport PsrLogMessageProcessor from master (2.x) 2020-08-04 12:09:20 +01: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