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

2832 Commits

Author SHA1 Message Date
Harm Bandstra
4260b46760 SlackWebhookHandler: refactor curl_setopt to curl_setopt_array 2017-06-19 02:13:06 +02:00
Harm Bandstra
52d9096b14 Explicitly set content-type header, and post JSON as body 2017-06-19 02:12:59 +02:00
Jordi Boggiano
188a46836b Fix DyanmoDbHandler test suite 2017-06-19 02:06:55 +02:00
Jordi Boggiano
2ea3d95ca2 Make sure this works on any hostname 2017-06-19 02:00:36 +02:00
Alex Rock Ancelet
d84af8db3c Fix SwiftMailerHandler support for Swiftmailer 6.0+ 2017-06-19 01:59:54 +02:00
Jordi Boggiano
6fdf686a02 Use Aws\Sdk instead of Aws\Common\Aws, fixes #969, fixes #977 2017-06-19 01:51:14 +02:00
Jordi Boggiano
357ae23fa4 Tweak HandlerWrapper example in docblock, fixes #991 2017-06-19 01:51:14 +02:00
Douglas Reith
765d225554 Support HeadlessChrome (#966)
* Support HeadlessChrome
2017-06-19 01:47:42 +02:00
Grégoire Pineau
5a041bab8f Use callable typehint where possible + Removed dead code (#996)
* Removed dead code

* Use callable typehint where possible

* Removed PHP5.3 workaround
2017-06-19 01:41:02 +02:00
Remon van de Kamp
deb0ea4ee7 Use first day/first month for date calculations in RotatingFileHandlerTest (#963)
When making the calculations for the filename of the current month using
date('d') does not work because you may run into the situation where you run
the tests on a day in a month that does not exist in the previous month,
for example March 30th. As there is no February 30th, PHP will skip ahead
to March, and the filename for the "previous" month will incorrectly be
"2017-03" instead of the expected "2017-02". Using the first day of the
month instead of the current day of the month solves this problem.

For consistency we now also use the first month of each year for calculations
regarding years even if this is not necessary, it would break symmetry
if we don't, plus it makes it clear that the value is not relevant in the
calculation.
2017-06-19 01:33:57 +02:00
Elnur Abdurrakhimov
91a0f40927 LogstashFormatter: format context and extra fields as JSON objects (#976)
BC Break
* For Logstash, format context as object instead of individual fields
* For Logstash, format extra as object instead of individual fields
2017-06-19 01:30:53 +02:00
Marco Bunge
71f16ca3d5 Update README.md (#984) 2017-06-19 01:18:56 +02:00
Brant Messenger
1b769912d1 PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRAC… (#986)
* PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRACE_IGNORE_ARGS 

Notice: Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php on line 58

* Define DEBUG_BACKTRACE_IGNORE_ARGS if not defined.

* Solution using PHP_VERSION_ID and not defining...

...DEBUG_BACKTRACE_IGNORE_ARGS
2017-06-19 01:16:17 +02:00
Jordi Boggiano
eba07cbad2 Avoid assertion-free test 2017-06-19 00:59:11 +02:00
Jordi Boggiano
0273c31996 Fix some docblocks, closes #970 2017-06-19 00:58:15 +02:00
Jordi Boggiano
dbd8d31277 Remove old BC 2017-06-19 00:57:55 +02:00
Jordi Boggiano
ca4ffa68f6 Use namespaced phpunit classes, fixes #983 2017-06-19 00:48:54 +02:00
Jordi Boggiano
3ab59f277e Avoid hiding nightly failures 2017-06-19 00:43:59 +02:00
Jordi Boggiano
5e8bb7dfbe Make sure this works on any hostname 2017-06-19 00:42:25 +02:00
Jordi Boggiano
86e4993283 Merge remote-tracking branch 'chrisforrence/tests-replace-deprecated-methods' 2017-06-19 00:37:19 +02:00
Jordi Boggiano
9ff7540d7a Remove typehints on normalizer formatter to avoid invalid function signatures 2017-06-19 00:35:23 +02:00
Jordi Boggiano
58b818126f Remove hhvm build 2017-06-19 00:28:37 +02:00
Jordi Boggiano
0184f3253f Avoid exts on hhvm 2017-06-19 00:22:37 +02:00
Jordi Boggiano
d35417ad7c Merge branch '1.x' 2017-06-19 00:11:05 +02:00
Jordi Boggiano
120499283b Remove amqp ext 2017-06-19 00:09:41 +02:00
Jordi Boggiano
af1e913233 Revert "Tweak extension loading"
This reverts commit 9cf8fb3810.
2017-06-19 00:07:43 +02:00
Jordi Boggiano
9cf8fb3810 Tweak extension loading 2017-06-19 00:03:59 +02:00
Jordi Boggiano
3c1fc70c73 Fix mongodb tests 2017-06-18 23:58:24 +02:00
Jordi Boggiano
b76bc133db Rename level_num to monolog_level, refs #960 2017-06-18 23:58:15 +02:00
Jordi Boggiano
56661027a7 Merge remote-tracking branch 'pupsschluepfer/master' 2017-06-18 23:49:52 +02:00
Jordi Boggiano
2551b8e3eb Merge branch '1.x' 2017-06-18 23:46:31 +02:00
Jordi Boggiano
70ed794fb2 Update to trusty builds 2017-06-18 23:42:15 +02:00
Benjamin Pentzold
1c48ebbf90 Merge remote-tracking branch 'upstream/master' 2017-05-22 12:00:08 +02:00
Lesnykh Ilia
e5ff7eb074 Use coalesce operator (#982)
* Use coalesce operator

* Use coalesce operator

* Use coalesce operator

* Use coalesce operator
2017-05-08 11:13:42 +02:00
Jordi Boggiano
35c07a81de Merge pull request #979 from Aliance/patch-1
Update JsonFormatter PHPDoc.
2017-05-03 15:17:21 +02:00
Lesnykh Ilia
6696e045df Update JsonFormatter.php 2017-05-03 15:37:25 +03:00
Jordi Boggiano
4cdd014b80 Merge pull request #967 from enleur/gelf-max-length
Gelf max length
2017-04-10 09:58:43 +02:00
Jordi Boggiano
1b660bbbee Remove constant from constructor 2017-04-10 09:37:23 +02:00
Enleur
faed450d52 Use GELF max length per field and make max length configurable in constructor 2017-04-07 13:49:54 +03:00
Jordi Boggiano
35c84c5b6f Merge pull request #965 from Sam-Burns/fix-build
Fix build
2017-04-04 00:04:57 +02:00
Sam-Burns
ed6f071284 Allowing PHP 'nightly' build to fail, because it is seg faulting while running Composer 2017-04-01 22:05:07 +01:00
Sam-Burns
fa5d07f86f Skipping DateTime microsecond test in PHP 7.1.3, because of https://bugs.php.net/bug.php?id=74258 2017-04-01 21:52:18 +01:00
Benjamin Pentzold
26c7de1e51 map loglevel (int-value) to log-message, as well 2017-03-28 16:04:50 +02:00
Chris Forrence
763c3afb32 Split expectException calls with two parameters into the proper two calls 2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72 Replace deprecated setExpectedException methods with expectException 2017-03-21 10:14:16 -04:00
Jordi Boggiano
59355d5ce3 Merge branch '1.x' 2017-03-20 11:21:38 +01:00
Jordi Boggiano
3266b6e257 Fix test moar 2017-03-20 11:21:06 +01:00
Jordi Boggiano
3c74c7a8d2 Fix tests 2017-03-20 11:12:52 +01:00
Jordi Boggiano
ca17a62db2 Merge branch '1.x' 2017-03-20 11:05:06 +01:00
Jordi Boggiano
e4774920ff Fix test class 2017-03-20 11:04:39 +01:00