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

2833 Commits

Author SHA1 Message Date
dependabot[bot]
7f61bb2a5a Bump cobot/couchdb-action
Bumps [cobot/couchdb-action](https://github.com/cobot/couchdb-action) from 7474dc7782b9f8a84d10579dd91339820b2e6b7e to eaaa17cf8baf421e7fb07e2d869f5457bb6a4de5.
- [Release notes](https://github.com/cobot/couchdb-action/releases)
- [Commits](7474dc7782...eaaa17cf8b)

---
updated-dependencies:
- dependency-name: cobot/couchdb-action
  dependency-version: eaaa17cf8baf421e7fb07e2d869f5457bb6a4de5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 14:24:37 +00:00
Jordi Boggiano
2e97231b96 Avoid collecting duplicate logs if the file cannot be locked 2025-04-03 13:44:45 +02:00
Jordi Boggiano
7ef6b74dfd Add php8.5 build 2025-04-03 10:03:53 +02:00
Jordi Boggiano
924d85380f Downscale logo 2025-03-25 00:29:50 +01:00
Jordi Boggiano
ede3437579 Pin GH actions 2025-03-24 13:10:21 +01:00
Jordi Boggiano
10d8574018 Update changelog 3.9.0 2025-03-24 11:02:05 +01:00
Rajmund
2b8777dfb4 SendGrid V3 API (#1952)
Fixed SendGridHandler to use the new V3 API as the V2 one has been sunset. This requires configuring a new API key.

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2025-03-20 10:27:50 +01:00
Rajmund
5d0da0a798 Updating while loops to have boolean conditions. (#1956)
* Updating while loops to have boolean conditions.

* Refactor exception normalization logic in LineFormatter for improved readability and efficiency

* Update retry logic in Curl Util to use retry count .

* Skip the if now that we check before starting the loop

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2025-03-20 09:59:33 +01:00
Rajmund
62946513d4 Remove deprecated setType method call in ElasticaFormatter (#1955) 2025-03-20 09:52:05 +01:00
Jordi Boggiano
467e764fb6 Fix gelf message formatter failing to handle context/extra numeric keys, fixes #1932 2025-03-16 14:04:36 +01:00
Markus Staab
7ca003e6ae Rename TestCase to MonologTestCase (#1953) 2025-03-16 13:30:20 +01:00
Markus Staab
9d6bcfc94d Fix build (#1954)
* Fix build

* Update phpstan-baseline.neon

* better fix
2025-03-16 13:24:42 +01:00
Rajmund
45b5e0e33e Change datetime format from ISO 8601 to ATOM in ElasticsearchFormatter and related tests (#1942) 2025-03-15 14:23:08 +01:00
Andrii Shevchenko
c8bbe52af5 added possibility to set child handler after instantiation (#1946) 2025-03-15 14:19:21 +01:00
Jeff W
9cfd246982 Add a mail() hook to NativeMailHandler. (#1948)
Allows subclassing NativeMailHandler so that the call to mail()
can be intercepted and replaced in cases where additional processing
needs to happen.

Tests are mostly updated to use this method to test sent messages,
but one test is added to make sure that everything gets passed through
intact.

Co-authored-by: JDW <xs@jdw.sx>
2025-03-15 14:17:54 +01:00
Jordi Boggiano
95092b0107 Fix issue in elasticaformatter 2025-03-15 14:17:09 +01:00
Elan Ruusamäe
3606a19b6e Fix ErrorLogHandler type int: $messageType accepts only SAPI and OS (#1933) 2025-03-15 14:07:26 +01:00
Alan Jones
353f1db2e4 Add strtolower for fromName match statement (#1941)
Changes the `fromName` method to be case-insensitive for more flexible use.
2025-03-15 14:06:02 +01:00
dependabot[bot]
548eeb3f1e Bump supercharge/mongodb-github-action from 1.11.0 to 1.12.0 (#1937)
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/supercharge/mongodb-github-action/releases)
- [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/mongodb-github-action/compare/1.11.0...1.12.0)

---
updated-dependencies:
- dependency-name: supercharge/mongodb-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 11:34:40 +01:00
Jun Yang Chin
d97d5e9468 Fix broken url (#1930) 2024-12-10 14:30:50 +01:00
Jordi Boggiano
aef6ee73a7 Update changelog 3.8.1 2024-12-05 18:15:07 +01:00
Jordi Boggiano
074503850b Remove empty lines if a custom stack trace parser returns null, fixes #1925 2024-12-05 18:02:26 +01:00
Jordi Boggiano
595847346a Fix gelf formatter keys to strip invalid characters, fixes #1927 2024-12-05 15:46:00 +01:00
Ruud Kamphuis
a258e4fe90 Deprecate DateTimeImmutable (#1928)
Fixes #1926
2024-12-05 15:38:02 +01:00
Jordi Boggiano
e940004193 Fix normalizeException types, fixes #1924 2024-11-17 13:30:33 +01:00
Jordi Boggiano
32e515fdc0 Merge branch '2.x' 3.8.0 2024-11-12 14:57:08 +01:00
Jordi Boggiano
5cf826f299 Update changelog 2.10.0 2024-11-12 13:43:37 +01:00
Jordi Boggiano
7729f32de0 Merge branch '2.x' 2024-11-11 22:36:03 +01:00
Jordi Boggiano
d2d0341604 Fix patch 2024-11-11 22:29:51 +01:00
Jordi Boggiano
d57089bf87 Fix RotatingFileHandler bug where rotation could sometimes not happen correctly, fixes #1905 2024-11-11 22:15:37 +01:00
Jordi Boggiano
0c7366171f Auto-close streams when reset() is called, fixes #1862 2024-11-11 20:20:56 +01:00
Jordi Boggiano
24a1110715 Merge branch '2.x' 2024-11-11 20:15:35 +01:00
Jordi Boggiano
0779fb91e5 Close and reopen file handles if a write fails (#1882)
* Close file handle after each write, refs #1862, refs #1860, refs #1634

* Modify patch to retry writes once if they fail, then throw if not

* Fix php7.2 build
2024-11-11 20:08:58 +01:00
Jordi Boggiano
517e2f40a2 Fix build 2024-11-11 15:39:25 +01:00
Jonathan Plantey
5d5da57b81 Normalize call normalizeRecord if necessary (#1906)
* Normalize call normalizeRecord if necessary

* Update patch to always go through format()

* Update JsonFormatterTest.php

* Fix implementation

* Fix test expectations

* Update JsonFormatter.php

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-11-11 15:34:03 +01:00
Jordi Boggiano
f43e3d5637 Upgrade phpstan, phpunit (#1923)
* Upgrade phpstan, phpunit

* Fix phpunit deprecation

* Fix hg tests

* Fix php-console tests

* Fix phpunit on 8.1

* Bump phpconsole
2024-11-11 15:21:55 +01:00
Jordi Boggiano
7af6f41cff Fix build 2024-11-11 14:20:19 +01:00
Jordi Boggiano
b92508d0d7 Fix build 2024-11-11 14:06:20 +01:00
Pedro Peixoto
8ae546b2b9 Allow the user to define a custom mode when fopen-ing a log file (#1913)
* Allow the user to define a custom mode when `fopen`-ing a log file

* Undo unnecessary changes

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-11-11 10:26:15 +01:00
Jordi Boggiano
5e3d583b22 Clean up CI 2024-11-11 10:19:02 +01:00
Jordi Boggiano
7b5a792204 Restore rollbar test suite 2024-11-11 10:02:18 +01:00
Jordi Boggiano
55a7b339f2 Fix phpstan 2024-11-11 09:52:41 +01:00
Jordi Boggiano
d5b588a306 Fix phpstan build 2024-11-09 14:41:45 +01:00
Steven Lewis
e5b3586456 Fix PHP 8.4 E_STRICT deprecation notices (#1921) 2024-11-09 14:27:28 +01:00
Jordi Boggiano
e266d7d914 Add support for elastica 8, fixes #1917 2024-11-09 14:16:37 +01:00
Nikola Mijajlović
67cc5502a3 Remove Slim framework integration suggestion (#1914)
The suggested library (https://github.com/Flynsarmy/Slim-Monolog) only supports Slim 2, which has not been maintained for a long time. Monolog can be integrated with Slim v4 directly, without the need for any additional libraries.
2024-11-09 14:15:43 +01:00
Jordi Boggiano
11075bc016 Add baseline for php8.2 2024-10-25 22:44:10 +02:00
Jordi Boggiano
b4a48dd3ee Fix phpstan build 2024-10-25 22:15:10 +02:00
InvisibleSmiley
63fdb125ab Remove pointless json_encode availability checks (#1919)
Co-authored-by: Jens Hatlak <jens.hatlak@check24.de>
2024-10-25 21:45:46 +02:00
Eric Emmrich
2497a896b1 ProcessHandler: Make timeout of stream_select() configurable (#1916)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-10-23 15:31:42 +02:00