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
Jordi Boggiano
5eccd17dc5
Add graylog2/gelf-php 2.x support, fixes #1747
2022-08-20 14:09:11 +02:00
Jordi Boggiano
7699cebc46
Minor docblock tweaks
2022-08-20 12:37:52 +02:00
Grégoire Pineau
5df3238664
Fix bug with level in GitProcessor ( #1749 )
2022-08-17 23:30:28 +02:00
Jordi Boggiano
8471abd5ef
Merge branch '2.x'
2022-08-02 15:04:49 +03:00
Jordi Boggiano
132eace138
Fix build
2022-08-02 15:03:47 +03:00
pafernandez-oesia
620dca1126
Update BrowserConsoleHandler console output method ( #1739 )
...
Instead of using console.log for all log levels, it uses debug, info, warn and error methods depending on the log level.
This makes filtering logs easier in the browser console and highlights error level messages.
2022-08-02 13:47:03 +02:00
Jordi Boggiano
305444bc6f
Update changelog
3.2.0
2022-07-24 14:00:55 +02:00
Jordi Boggiano
41498055d0
Merge branch '2.x'
2022-07-24 13:56:45 +02:00
Jordi Boggiano
720488632c
Update changelog
2.8.0
2022-07-24 13:55:47 +02:00
Jordi Boggiano
60d9aab60e
Fix tests
2022-07-22 20:55:12 +02:00
Jordi Boggiano
5f839e0e63
Clean up unneeded use statements, refs #1689
2022-07-22 20:50:29 +02:00
Jordi Boggiano
4e131c13ac
Merge branch '2.x'
2022-07-22 20:49:57 +02:00
Jordi Boggiano
4b4fad9476
Fix serialization to include private properties, fixes #1727 , fixes phpro/grumphp#1020
2022-07-22 20:49:07 +02:00
Jordi Boggiano
f7dfa00f08
Add Level::toRFC5424Level method and restore BC to Syslog handlers (broken in #1689 )
2022-07-22 17:04:34 +02:00
Jordi Boggiano
7d31b642bd
Merge branch '2.x'
2022-07-22 16:50:53 +02:00
Lusso Luca
ffd505543c
Add RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord, fixes #1686 ( #1723 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be >
2022-07-22 16:46:43 +02:00
picass0
a7e5beda57
finishing Syslog formatter ( #1689 )
...
* feat: Syslog formatter
* feat: Syslog formatter, app name
* update syslogFormatter
* Remove legacy syntax
Co-authored-by: Dalibor Karlović <dalibor.karlovic@sigwin.hr >
Co-authored-by: Renat Gabdullin <renatobyj@gmail.com >
2022-07-22 16:17:53 +02:00
Pavel Bychko
320909a1d1
Fix replaceNewlines method to avoid replacing escaped backslashes, closes #1721 , fixes #1720
2022-07-22 16:05:32 +02:00
Jordi Boggiano
7684fae8fa
Merge branch '2.x'
2022-07-22 15:51:15 +02:00
Jordi Boggiano
cf0f4b3814
Handle __toString to serialize objects which are not json-serializable in JsonFormatter, fixes #1733
2022-07-22 15:27:46 +02:00
Jordi Boggiano
284482a726
More test fixes
2022-07-22 15:12:01 +02:00
Jordi Boggiano
1e6a4e106c
Remove deprecated handlers from docs
2022-07-22 15:10:54 +02:00
Jordi Boggiano
34635fdcf5
Add docs
2022-07-22 15:08:12 +02:00
Jordi Boggiano
6fdeea463c
Fix build
2022-07-22 15:07:44 +02:00
Jordi Boggiano
9c1fb56f6a
Deprecate CubeHandler and PHPConsoleHandler which are targetting abandoned projects, fixes #1734
2022-07-22 15:00:02 +02:00
Jordi Boggiano
611ff01fa6
Skip php8.2 default build
2022-07-22 14:48:24 +02:00
Jordi Boggiano
3a1ea88ee0
Fix matrix
2022-07-22 14:47:49 +02:00