Jordi Boggiano
5579edf28a
Update changelog
2.7.0
2022-06-09 10:59:12 +02:00
henning
24e414c993
Added $datetime parameter to addRecord method to optionally log into the past/future
2022-06-09 10:49:31 +02:00
Gene Alyson Fortunado Torcende
8ac56aa42b
RotatingFileHandler to maintain the correct maximum number files when using folder by date ( #1671 )
2022-06-09 10:41:11 +02:00
Jordi Boggiano
eac0c22ad2
Mark TestCase internal until PHPStorm handles this better, fixes #1677
2022-06-09 10:40:17 +02:00
Dmitry Menshikov
64854f09da
Correct handling of E_USER_ERROR as fatal error if registerErrorHandl… ( #1670 )
...
* Correct handling of E_USER_ERROR as fatal error if registerErrorHandler is called with callPrevious, fixes #1669
2022-06-09 09:04:15 +02:00
Jordi Boggiano
9c1566a971
Add a way to disable logging loop detection, closes #1681
2022-06-08 21:51:47 +02:00
Jordi Boggiano
247918972a
Update changelog
2.6.0
2022-05-10 11:36:00 +02:00
Jordi Boggiano
a5d65f6ec4
Fix infinite loops when a log handler triggers logging itself
2022-05-10 11:10:07 +02:00
Jordi Boggiano
5d43fd52d3
Allow UdpSocket to reconnect after close()
2022-05-10 10:29:15 +02:00
Lito
c709906d0a
[2.X] Allow stacktraces parser on LineFormatter ( #1665 )
...
* Allow stacktraces parser on LineFormatter
* Added includeStacktraces parse tests
2022-05-09 22:37:14 +02:00
Jordi Boggiano
2a8c7dffdf
Also allow for slow ES8 start
2022-05-09 00:16:47 +02:00
Jordi Boggiano
2af3276ca6
Update list of handlers
2022-05-09 00:10:39 +02:00
Jordi Boggiano
354ddc8020
Fix changelog
2022-05-08 23:49:54 +02:00
Jordi Boggiano
8f6efe928a
Allow more time as elastic search sometimes is slow to boot
2022-05-08 23:49:25 +02:00
Jordi Boggiano
bd24765917
ElasticSearch v8 support ( #1662 )
...
* ElasticSearch v8 support
* CI updates
Co-authored-by: Thomas Müller <mimmi20@live.de >
2022-05-08 22:23:46 +02:00
Jordi Boggiano
4c7a12b026
Add SymfonyMailerHandler, deprecate SwiftMailerHandler ( #1663 )
2022-05-07 13:05:55 +02:00
Jordi Boggiano
4192345e26
Update changelog
2.5.0
2022-04-08 17:43:54 +02:00
Jordi Boggiano
4c43f12548
Link attribute file again
2022-04-08 17:32:35 +02:00
Jordi Boggiano
508df120fa
Make AsMonologProcessor compatible with PHP 7.2
2022-04-08 17:32:03 +02:00
Jordi Boggiano
f2f66cd480
Fix tests
2022-03-18 10:48:03 +01:00
Jordi Boggiano
77b71e0baf
Fix syntax
2022-03-18 10:43:11 +01:00
jszczypk
f0e0dbaa52
added information about call type from debug_backtrace ( #1612 )
...
$record['extra']['callType'] will contain current call type: "->" or "::" depending if it was normal or static method call.
Gives possibility to nicely format messages "{$record['extra']['class']}{$record['extra']['callType']}{$record['extra']['function']} ..."
2022-03-18 10:31:44 +01:00
Marko Vušak
0a023ffb23
Calculate exception message according to PHP version ( #1644 )
2022-03-18 09:47:05 +01:00
Jordi Boggiano
cb3675ee15
Try fixing ci
2022-03-14 13:51:26 +01:00
Jordi Boggiano
affa44f7c8
Fix formatting issue
2022-03-14 13:45:46 +01:00
Jordi Boggiano
d7fd745062
Update changelog
2.4.0
2022-03-14 13:44:37 +01:00
Jordi Boggiano
330b80ceb7
One day I will learn
2022-03-14 13:41:10 +01:00
Jordi Boggiano
f1f2e3e37c
Fix fix
2022-03-14 13:39:42 +01:00
Jordi Boggiano
b886d70a35
Fixes
2022-03-14 13:35:56 +01:00
Jordi Boggiano
c02d86ffb2
Include record message/context/extra data when throwing an exception because the log cannot be opened, fixes #1630
2022-03-14 13:34:54 +01:00
Jordi Boggiano
e289293a7c
PHPStan fixes
2022-03-14 13:03:53 +01:00
Jordi Boggiano
4b22d380d0
Expand rollbar supported versions
2022-03-14 13:00:50 +01:00
Jordi Boggiano
f764bbdc0c
Add includeStacktraces constructor parameter to LineFormatter & JsonFormatter, fixes #1603
2022-03-14 12:48:06 +01:00
Jordi Boggiano
93369fd88f
Add LogRecord interface for forward compatibility
2022-03-14 12:41:50 +01:00
Jordi Boggiano
67100e7952
Update changelog
2022-03-13 21:44:42 +01:00
Yup
1c8f39a94d
Allow easier extend of BrowserConsoleHandler.php ( #1593 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2022-03-13 21:19:51 +01:00
Gemma Lynn
b39a394c05
Store native BSON types as-is in the MongoDB formatter ( #1620 )
2022-03-13 21:04:53 +01:00
Bruno Baguette
56899afff9
Typo fixes + fix of a broken (404 error) link ( #1619 )
2022-03-13 21:01:11 +01:00
Yurun
6f233d2e2f
Remove unused variable ( #1628 )
2022-03-13 20:31:19 +01:00
Bei Xiao
f9a8e87563
SlackWebhookHandler: use footer for username & footer_icon for userIcon ( #1617 )
...
* Use footer for username & footer_icon for userIcon
* Update test case for SlackWebhookHandler
2022-03-13 20:29:18 +01:00
Anatoly Pashin
baf2d9d4a7
Check whether graylog2/gelf-php is installed in GelfMessageFormatter constructor ( #1624 )
2022-03-07 14:50:57 +01:00
Eugene Ivanov
832660ec68
Handling the maximum length of a Telegram message ( #1616 )
...
* Handling the maximum length of a Telegram message
The maximum allowed length of a Telegram message - 4096 symbols (https://core.telegram.org/bots/api#message , 'text' field).
Longer messages are not delivered.
Therefore, I implemented splitting too long message into several (with a 1 second delay between sending according to the documentation - https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this ) as the default behavior.
An additional option that you can enable by truncateLongMessage is to leave one message, but truncate it to the maximum length allowed.
* Changed handling of long messages (default - truncation, delay - optional)
* PSR-12 code formatting
2022-03-07 14:37:10 +01:00
smiley
168bb6e53d
return self on several setter/builder methods for more consistent behaviour ( #1609 )
2022-03-07 14:24:20 +01:00
Koen Kivits
16cc886c02
Fix ErrorHandler::handleError $context signature ( #1614 )
...
The context can be null, eg. for internal PHP errors.
2022-03-07 14:11:30 +01:00
gnito-org
c0ae588437
Fix minor spelling & grammar issues in docs ( #1623 )
2022-03-06 15:12:11 +01:00
Lusso Luca
c295434c24
Add Drupal integration to the README ( #1639 )
2022-03-06 13:37:10 +01:00
Aimeos
4a32baade5
Added Aimeos as Monolog supporter to framework integration section ( #1622 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2022-03-06 13:36:15 +01:00
Alex Jose
5129feea3e
Added user_agent to the WebProcessor ( #1613 )
2022-03-06 13:27:57 +01:00
Mohamed El Mrabet
030c25c4d2
Addition of a new framework ( #1610 )
2022-03-06 13:09:40 +01:00
Thomas Calvet
8c58abad9e
Add AsMonologProcessor attribute ( #1637 )
2022-03-06 13:08:33 +01:00