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
Douglas Reith
765d225554
Support HeadlessChrome ( #966 )
...
* Support HeadlessChrome
2017-06-19 01:47:42 +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
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
3266b6e257
Fix test moar
2017-03-20 11:21:06 +01:00
Jordi Boggiano
e4774920ff
Fix test class
2017-03-20 11:04:39 +01:00
Jordi Boggiano
fb751dff33
Remove return annotations
2017-03-20 10:18:43 +01:00
Jordi Boggiano
c192b1a373
Remove strict types from test suite
2017-03-20 10:15:03 +01:00
Jordi Boggiano
3b1f98df2a
Fix 5.3 support
2017-03-20 10:07:14 +01:00
Erik Johansson
81e8bf6189
Add level parameter to payload when reporting Rollbar exceptions ( #852 )
2017-03-20 10:04:18 +01:00
Jordi Boggiano
24894709d1
Fix tests
2017-03-17 22:54:56 +01:00
ont
8c40211c3f
Fix array syntax for Travis CI
2017-03-15 12:00:44 +07:00
ont
aa6e88b6de
Complete rfc5424 header for SyslogUdpHandler
...
WARN: this commit adds backward incompatibility for the SyslogUdpHandler
constructor.
2017-03-15 00:57:06 +07:00
Tim Strijdhorst
e6b05c9173
Allow to set custom event_id [LEGACY] ( #930 )
...
* +allow to set a custom event_id as an extra parameter instead of letting Raven generate a UUIDv4
* +CS
* +CS
* +verbose array syntax because of PHP 5.3 support
2017-03-12 17:46:54 +01:00
Anton Nizhegorodov
b732364e70
Slack improvements ( #894 )
...
- [x] Exclude `extra`/`context`, `datetime`, `level` from message when attachment is used
- [x] Use `ts` attachment key to display `datetime` considering user timezone
- [x] [Support](https://github.com/Seldaek/monolog/pull/846#issuecomment-249528719 ) custom user images
- [x] [Allow](https://github.com/Seldaek/monolog/pull/894#issuecomment-263532399 ) to setup username from slack
- [x] [Improve](https://github.com/Seldaek/monolog/pull/846#issuecomment-261529198 ) array formatting within `context`/`extra`
- [x] [Support](https://github.com/Seldaek/monolog/issues/745 ) `include_stacktraces` option when attachment is not used and always include stacktraces when attachment is used
- [x] Support `extra`/`context` field exclusion
- [x] Update tests
2016-12-13 15:25:55 +01:00
Haralan Dobrev
9fbc286428
Add unit test for SlackbotHandler
2016-11-19 18:54:46 +02:00
Haralan Dobrev
43e1e69bad
Add unit tests for SlackWebhookHandler
2016-11-19 18:54:46 +02:00
Haralan Dobrev
26b526d9fb
Do not put empty Slack attachments array by default
2016-11-19 18:54:46 +02:00
Anton Nizhegorodov
5fa5e37305
Fix SlackHandler
...
Slack API requires to json_encode the attachment field.
2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
d34de6bf30
Fix SlackRecordTest
2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
08b577c657
Update SlackHandler tests && allow SlackRecord formatter change after construction
2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
4ab8ed0a53
Make sure extra/context variables are stringified when more than one level deep
2016-11-19 18:53:01 +02:00
Anton Nizhegorodov
ec75076ded
Add more tests to SlackRecordTest
...
Conflicts:
- tests/Monolog/Handler/Slack/SlackRecordTest.php - merged the tests
2016-11-19 18:53:01 +02:00
Haralan Dobrev
7c2f58e7aa
Add initial tests for SlackRecord
2016-11-19 18:53:01 +02:00
Haralan Dobrev
115f6710b1
Use constants for Slack colors
2016-11-19 18:53:00 +02:00
Jordi Boggiano
8f47e12463
Fix PHP7.1 DateTime support
2016-11-17 11:25:45 +01:00
Julien Falque
9d43c66cc6
Make protected generic methods public
2016-11-16 12:15:57 +01:00
Tugdual Saunier
d234839de1
Make the RavenHandler picks the first highest record as main
2016-10-13 09:42:54 +01:00
Jordi Boggiano
214b8ef34b
Add total amount of items when aborting traversable normalization
2016-10-03 20:31:30 +02:00
Jordi Boggiano
40b4891030
Make sure SyslogUdpHandler does not create empty frames where not necessary, fixes #841
2016-09-25 17:30:37 +02:00
Jordi Boggiano
ffc421a4fd
Make hg test optional
2016-09-25 16:47:31 +02:00
Jonathan A. Schweder
240b7458dd
add MercurialProcessor
2016-09-25 16:39:55 +02:00
Nerijus Eimanavičius
5587f6bd3b
Refactored JsonFormatter tests to more readable structure
2016-08-28 01:47:20 +03:00
Nerijus Eimanavičius
6586425a31
Better support for PHP7 \Throwable
2016-08-28 00:47:02 +03:00
Jordi Boggiano
ced9284123
Fix tests
2016-07-29 04:51:33 +02:00
Jordi Boggiano
5052fe7b1f
Merge remote-tracking branch 'francisbesset/feat-soapfault' into 1.x
2016-07-29 04:47:55 +02:00
Jordi Boggiano
9b5bf2cca7
Allow formatting of message by setting a line formatter on SlackHandler, fixes #829
2016-07-29 04:20:18 +02:00
Francis Besset
8b1f522206
Added informations to normalize a SoapFault
2016-07-20 15:18:11 +02:00
Jordi Boggiano
69fb2aa1c1
Fix GroupHandler::handleBatch when the handler has processors, fixes #814
2016-07-02 14:48:22 +01:00
Michael Moussa
09c4cca32b
Fix NewRelicHandler error when using LineFormatter
2016-05-20 19:31:17 +01:00
Remon van de Kamp
83a24937ba
Add deprecation errors on RotatingFileHandler ( #774 )
...
* Add deprecation errors when attempting to set dateFormats of fileFormats that
break the possibility of rotating easily in RotatingFileHandler. Version 2.x
of Monolog will throw `\InvalidArgumentException`s in these cases.
2016-05-20 19:13:19 +01:00
Nils Adermann
e7c326782f
FingersCrossed: Adapt test for extraction of activate from handle()
2016-04-15 14:11:04 -04:00
Nils Adermann
e0b521ba53
Add a test that verifies manual overriding of activation strategy works
2016-04-14 17:02:29 -04:00
Jordi Boggiano
f56f2969f7
Fix handling of messages with new lines
2016-04-12 19:17:42 +01:00
Jordi Boggiano
0e3a4bf48b
Fix bug when messages contain colons
2016-04-12 19:02:03 +01:00
Jordi Boggiano
a754edc64c
Add ability to use formatter in email subject lines
2016-04-12 18:31:25 +01:00
Jordi Boggiano
1fa91efc3b
Add DeduplicationHandler to avoid spamming the same log records over and over
2016-04-12 18:31:22 +01:00
Jordi Boggiano
a7ade9d68f
Only close handles that have been opened by the StreamHandler, fixes #764
2016-04-10 13:01:10 +01:00