Flavio Maria De Stefano
cf0ac7e33d
Typo on method name
2018-05-18 12:13:16 +02:00
Florent Viel
5f95356f3a
fix @see reference for logstash
...
Logstash has a new home and is also writte in java instead of ruby.
2018-05-17 15:46:52 +02:00
Paul Webster
ccb95c08fd
NewRelicHandler - handle Throwable in PHP7
2018-05-03 11:15:17 +12:00
MilesChou
985fdb3eae
Add getter for webhook and token property
2018-04-25 15:51:22 +08:00
MilesChou
1107013b9c
Open visibility for slack handlers
2018-04-24 23:17:02 +08:00
Grégoire Pineau
1e8deb4672
Drop HHVM in .travis.yml
2018-04-16 15:03:26 +02:00
Jeroen Stolp
50de6999ae
Happy 2018 to Monolog
2018-04-10 13:25:02 +02:00
DQNEO
39f464bd58
make compatible to phpunit 6
2018-04-02 00:54:21 +09:00
DQNEO
a3388569cd
upgrade phpunit to 6
2018-04-02 00:16:28 +09:00
Elan Ruusamäe
276135c0fe
ErrorLogHandler: use strict comparison
...
otherwise `null` and `false` get accepted as valid types
2018-03-02 12:22:42 +02:00
elwin1234
9dba2f3431
Update RotatingFileHandler.php
...
Use own constant instead of hardcoded string for default dateFormat (const FILE_PER_DAY = 'Y-m-d';)
2018-02-14 15:47:48 +01:00
Hinrik Örn Sigurðsson
86d0984517
Set HTTP response code to 500 in case of exceptions
...
Resolves Seldaek/monolog#1096 .
2018-01-26 14:04:19 +01:00
Damian Mooyman
2d9c905b76
ENHANCEMENT Ensure 'trace' is captured for non-exceptions
...
Fixes #693
2018-01-15 10:42:24 +13:00
MilesChou
18b93feea6
Add getter for webhook url in SlackWebhookHandler class
...
Add getter so that the subclass can easy to inherit SlackWebhookHandler class
2017-11-30 13:47:54 +08:00
Aerendir
9791cbcda3
Fix #1066 : Use correct docblock castings.
2017-11-17 18:11:07 +01:00
Erik Booij
ecdfdc9897
Rename Boolean in phpDocs to bool
2017-11-04 12:14:41 +01:00
Michael Dwyer
e3ab4e680b
Fix typo
...
All other documentation and code suggests that the replacement token is of the form `{var}` and not `%var%`
2017-10-31 09:46:46 -05:00
Carson Full
a21b037a00
Change LogstashFormatter to have extra/context keys instead of prefixes for the keys.
2017-10-03 12:22:44 -05:00
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!
f5d968ba95
Fix Comparison operator in RotatingFileHandler
2017-09-19 20:07:32 +09:00
gmsantos
81db432c02
Include insightops handler
2017-09-10 00:13:37 -03:00
Jakub Chábek
009d4151b4
PsrLogMessageProcessor: add option to remove used context fields
2017-08-21 09:55:09 +02:00
mahone3297
889b25a72b
[feature] add host processor
2017-08-17 17:38:25 +08:00
Fabrizio Castellarin
c7eb1a0f75
Remove misleading reference to RFC 5424 standard
2017-08-10 15:40:55 +02:00
Honza Machala
548309c2c1
Check maximum allowed size of sqs message and send smaller portion of it, when size is exceeded
2017-07-25 01:09:16 +02:00
Vincent Paré
207c91699e
Custom exception handler ( #500 )
...
Add custom exception handler to let the user change the default
behavior when Monolog raise an exception while logging a record.
2017-07-14 12:18:44 +02:00
dis1
a4973fade6
fix-for-slack-record-encoding
2017-07-13 11:50:43 +03:00
Westin Shafer
864bda5d67
Update AmqpHandler Docs
...
Update AmqpHandler docs to reflect that https://github.com/php-amqplib/php-amqplib can be used in place of ext php-amqp
2017-07-11 14:14:04 -06:00
Jordi Boggiano
7b99283627
Merge branch '1.x'
2017-06-19 12:29:40 +02:00
Jordi Boggiano
fd8c787753
Update changelog
1.23.0
2017-06-19 03:22:40 +02:00
Jordi Boggiano
f8248dba5d
Merge branch '1.x'
2017-06-19 03:15:19 +02:00
Jordi Boggiano
d6be96bc3c
Fix 5.3 support
2017-06-19 03:13:01 +02:00
Jordi Boggiano
69b21064ca
Fix level map override when using setExceptionHandler, fixes #1005
2017-06-19 03:09:14 +02:00
Westin Shafer
443e4a94fc
Minor code cleanup on Handler/ErrorLogHandler.php ( #995 )
...
Just some cleanup for readability.
2017-06-19 02:49:55 +02:00
Jordi Boggiano
1417e2d183
Merge branch '1.x'
2017-06-19 02:16:33 +02:00
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