1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-30 00:10:06 +02:00

2709 Commits

Author SHA1 Message Date
Jordi Boggiano
e239236968 Merge branch '2.x' 3.4.0 2023-06-21 10:46:11 +02:00
Jordi Boggiano
0ff87cf321 Fix display_errors handling to handle string values, fixes #1804 2023-06-21 10:44:08 +02:00
liutao
8c70660c17 Fix support of yearly and monthly rotation log file to rotate only once a month/year (#1805)
Co-authored-by: liutao <liutao@ifun.com>
Co-authored-by: liutao02 <liutao02@xiaoduotech.com>
2023-06-21 10:37:30 +02:00
Samson Endale
1fd8e8c2c7 Add TelegramBotHandler topics support (#1802) 2023-06-20 16:42:38 +02:00
Roy
4356885fbb Add support for priority in the Monolog bundle (https://github.com/symfony/monolog-bundle/pull/455) (#1797)
Co-authored-by: Roy <rdmartines@vcn.nl>
2023-06-20 16:37:16 +02:00
Johan Vlaar
dc4bc7e660 Add LoadAverageProcessor (#1803)
Co-authored-by: johan Vlaar <johan@adivare.nl>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-06-20 16:13:13 +02:00
chris
8561130215 Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
2023-06-20 15:56:11 +02:00
Jordi Boggiano
50409b8169 openlog never fails on php8.2 so remove check 2023-06-20 15:48:38 +02:00
chris
521186e355 chore: use stable version of graylog2/gelf-php (#1807)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
2023-06-20 15:45:52 +02:00
Danny van der Sluijs
975a02f765 ci: Update to use GitHub Actions V3 (#1812) 2023-06-20 15:08:09 +02:00
Danny van der Sluijs
d4f54b1077 ci: Update to use GitHub Actions V3 (#1812) 2023-06-20 15:07:41 +02:00
Jordi Boggiano
8941155d2f Fix phpstan errors, update baseline 2023-06-20 14:43:04 +02:00
Pitchaya Boonsarngsuk
06276fcf77 FingersCrossedHandler fix passthruLevel checking (Fixes #1800) (#1801) 2023-06-20 14:19:37 +02:00
Alexander Dmitryuk
b05bf55097 TestHandler misleadings (#1794)
* TestHandler misleasleadings

* change other methods
2023-03-10 15:05:37 +01:00
Antoine Makdessi
d3d495b742 Update README.md (#1793) 2023-02-20 13:31:07 +01:00
Jordi Boggiano
a340248d5f Add php 8.2 build 2023-02-06 14:47:36 +01:00
Jordi Boggiano
9b5daeaffc Merge branch '2.x' 3.3.1 2023-02-06 14:46:10 +01:00
Jordi Boggiano
f259e2b15f Add types 2.9.1 2023-02-06 14:44:46 +01:00
Jordi Boggiano
c8b1e0e789 Fix serialization implementation 2023-02-06 14:43:38 +01:00
Jordi Boggiano
3e92e9d243 Update changelog 2023-02-06 14:34:37 +01:00
Jordi Boggiano
2ae044482c Fix serializability of Logger class, fixes #1792 2023-02-06 14:33:41 +01:00
Jordi Boggiano
852643b696 Merge branch '2.x' 3.3.0 2023-02-06 14:12:20 +01:00
Jordi Boggiano
e1c0ae1528 Update changelog 2.9.0 2023-02-05 14:07:32 +01:00
Jordi Boggiano
76dc21188e Merge branch '2.x' 2023-02-04 23:11:46 +01:00
Antoine Makdessi
2f34389f69 Update message-structure.md (#1774) 2023-02-04 22:54:05 +01:00
Tetragramat
1f25f9b343 WhatFailureGroupHandler catches failures in method close (#1791) 2023-02-04 22:53:22 +01:00
Jordi Boggiano
7c04005a28 Ignore enum errors 2023-02-04 22:41:51 +01:00
Alex
3b866c9185 GitHub Workflows security hardening (#1763)
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2023-02-04 22:29:31 +01:00
Subhan Shamsoddini
0a60d6922a replace isset with coalesce operator (#1761) 2023-02-04 21:51:56 +01:00
Jordi Boggiano
b40d426849 Add new option to type defs 2023-02-04 21:45:58 +01:00
Thomas Müller
11fbf915c7 update dev dependencies (#1778) 2023-02-04 21:44:09 +01:00
Identei
f58e4f47b3 Add an option to set the op_type for the ElasticsearchHandler (#1766)
Co-authored-by: Identei <>
2023-02-04 21:40:17 +01:00
Kirill Astakhov
bbc688229e Add link to Spiral Framework (#1776) 2023-02-04 16:26:57 +01:00
Thomas Müller
616c675160 add some @throws in constructors (#1779) 2023-02-04 16:26:41 +01:00
Jordi Boggiano
c424dbc6a5 Merge branch '2.x' 2023-02-04 16:24:57 +01:00
Bart Swaalf
8255feb444 Add support for enum context values to psr formatter (#1773) 2023-02-04 16:05:18 +01:00
Thomas Müller
ea7eac41d5 change config for PHPUnit (#1777) 2023-02-04 16:01:10 +01:00
Jordi Boggiano
6459aeb4a7 Fix ignores 2023-02-04 15:53:31 +01:00
Niklas Keller
0f014206a4 Fix cycle detection within fibers (#1753)
* Fix cycle detection within fibers

We keep a separate depth count per fiber.

Fixes #1752.

* Avoid additional call to Fiber::getCurrent()

Suppresses phpstan errors, as they're false positives.
2023-02-04 15:49:17 +01:00
Mikhail Popov
58f503004d Fix setting of extra attributes in AmqpHandler when handling batches of records (#1781)
One of content_type, content_encoding, message_id, user_id, app_id, delivery_mode, priority, timestamp, expiration, type or reply_to, headers.

Co-authored-by: Попов Михаил <popov.mv@betcity.ru>
2023-02-04 15:46:32 +01:00
Luís Cobucci
69bd3637ba Fix date/time field for GCP logging (#1759)
We introduced the formatter using the incorrect field, which was making
GCP not to extract the correct value from the payload.

This uses the field that actually maps to the expected format.

More info: https://cloud.google.com/logging/docs/structured-logging
2023-02-04 15:39:20 +01:00
Luís Cobucci
e937256eee Fix date/time field for GCP logging (#1758)
We introduced the formatter using the incorrect field, which was making GCP not to extract the correct value from the payload.

This uses the field that actually maps to the expected format.

More info: https://cloud.google.com/logging/docs/structured-logging
2023-02-04 15:38:57 +01:00
Sergey Rabochiy
e18aa33d2f Add ClosureContextProcessor (#1745)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-02-04 15:24:39 +01:00
Rod Elias
1387e02612 Add .editorconfig file (#1768)
See: https://editorconfig.org/
2022-10-14 17:01:04 +02:00
Jordi Boggiano
e68c00670e Remove legacy gelf ignores in phpstan 2022-08-20 15:21:44 +02:00
Jordi Boggiano
37b747c3e3 Allow predis 2.x in Monolog 3 as well, fixes #1732 2022-08-20 15:16:13 +02:00
Jordi Boggiano
672dbb39d6 Merge branch '2.x' 2022-08-20 15:06:41 +02:00
Jordi Boggiano
6a28e9d41a Use facility additional value and not channel to be compat with existing Monolog 3 code 2022-08-20 15:05:05 +02:00
Jordi Boggiano
caa6e0407e Merge branch '2.x' 2022-08-20 15:03:10 +02:00
Jordi Boggiano
6bf3b35b80 Deprecate FlowdockHandler and formatter as the service was shutdown, fixes #1748 2022-08-20 14:12:43 +02:00