1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00
Commit Graph

990 Commits

Author SHA1 Message Date
Jordi Boggiano
2ff542495a Merge pull request #1485 from vudaltsov/patch-1
Fixed TelegramBotHandler constructor
2020-08-22 12:16:38 +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
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
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
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
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
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
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
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
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
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
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