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
Jordi Boggiano
4b34c2893f
Avoid linting file which is problematic on php 7.2
2022-03-06 13:08:08 +01:00
Jordi Boggiano
fb2c324c17
Update scripts to latest Composer syntax
2021-11-15 09:08:41 +01:00
Antonio J. García Lagar
f19a2ae873
Add missed classes ( #1605 )
2021-10-18 23:44:22 +02:00
Antonio J. García Lagar
df8f91bfef
Fix old class name ( #1604 )
2021-10-18 13:37:56 +02:00
Maximilian Bösing
4a11cadb27
Add constructor injection for SocketHandler
and its children ( #1600 )
...
* feature: add constructor injection for `SocketHandler` and its children
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com >
* docs: add parameter documentation to `SocketHandler#__construct`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com >
2021-10-13 22:29:04 +02:00
Juan Morales
d1c2829268
Documentation. Enrich documentation on "Customizing log format". ( #1575 )
...
Co-authored-by: jcm <juan.carlos.morales@tradebyte.com >
2021-10-02 22:05:18 +02:00
Jordi Boggiano
fd4380d6fc
Update changelog
2.3.5
2021-10-01 23:08:31 +02:00
Jordi Boggiano
9d1fed4aff
Fix insane-memory-limit handling in StreamHandler, fixes #1592
2021-10-01 23:03:22 +02:00
Jordi Boggiano
837ef7930d
Merge branch '1.x' into main
2021-10-01 22:48:38 +02:00
Christophe Coevoet
895066e602
Fix the composer.json ( #1598 )
2021-10-01 22:48:05 +02:00
Christophe Coevoet
f563e3159e
Fix the composer.json ( #1598 )
2021-10-01 22:46:08 +02:00
Shawn Iwinski
07a509ac76
Allow php-amqplib/php-amqplib v3 ( #1595 )
2021-10-01 22:25:14 +02:00
Jordi Boggiano
437e7a1c50
Adjust phpdoc to match the psr/log 3 interface, refs #1589
2.3.4
2021-09-15 13:27:21 +02:00
Jordi Boggiano
18eb14b78a
Update changelog
2021-09-15 13:20:03 +02:00
Alexander M. Turek
0f79359548
Allow psr/log 3 ( #1589 )
...
Signed-off-by: Alexander M. Turek <me@derrabus.de >
2021-09-15 13:13:55 +02:00
Jordi Boggiano
3962ebfe20
Update changelog
2.3.3
2021-09-14 20:40:13 +02:00
Marek Bartoš
98730fb77f
Add Nette integration to the README ( #1585 )
2021-09-14 15:32:21 +02:00
Jordi Boggiano
493d7475e6
Fix type error
2021-09-14 15:30:26 +02:00
Jordi Boggiano
73af18b61a
Merge pull request #1572 from mimmi20/main
...
add check for required extension
2021-09-14 15:25:45 +02:00
Jordi Boggiano
9638f0dfa7
Merge pull request #1573 from mimmi20/add-extension-checks
...
add checks for required curl extension
2021-09-14 15:25:08 +02:00
Jordi Boggiano
a4e10e8e9e
Merge pull request #1587 from nicolas-grekas/psr-log2
...
Allow psr/log 2.0
2021-09-14 15:21:42 +02:00
Jordi Boggiano
aa4cdc5633
Merge pull request #1574 from mimmi20/add-extensions
...
mention some more extensions in composer.json
2021-09-14 15:14:09 +02:00
Jordi Boggiano
0254465843
Merge pull request #1580 from pluc/main
...
Removing mention of monolog-cascade
2021-09-14 15:13:08 +02:00
Jordi Boggiano
4b47204f78
Fix SocketHandler::getChunkSize return type, fixes #1570 , closes #1576
2021-09-14 15:07:52 +02:00
Jordi Boggiano
646f0c39a3
Merge pull request #1578 from juan-morales/fix-oom-streamhandler
...
Fix - OutOfMemory error in StreamHandler
2021-09-14 15:03:38 +02:00
Jordi Boggiano
70fe092867
Simplify memoryIniValueToBytes, tweak code to use less memory overall
2021-09-14 15:01:06 +02:00
jcm
0b22036ab6
Add method in Utils to convert memory values from php_ini into bytes, and use lower amount of chunk size based on memory limit
2021-09-14 14:57:16 +02:00
Nicolas Grekas
203bb1b6f5
Fix CI to allow psr/log v2
2021-09-13 14:20:06 +02:00