Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch '1.x' | Jordi Boggiano | 2017-06-19 | 4 | -8/+30 |
|\ | |||||
| * | Fix DyanmoDbHandler test suite | Jordi Boggiano | 2017-06-19 | 1 | -2/+9 |
| | | |||||
| * | Fix SwiftMailerHandler support for Swiftmailer 6.0+ | Alex Rock Ancelet | 2017-06-19 | 1 | -1/+1 |
| | | |||||
| * | Support HeadlessChrome (#966) | Douglas Reith | 2017-06-19 | 1 | -1/+16 |
| | | | | | | * Support HeadlessChrome | ||||
| * | Use first day/first month for date calculations in RotatingFileHandlerTest ↵ | Remon van de Kamp | 2017-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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. | ||||
| * | Fix test moar | Jordi Boggiano | 2017-03-20 | 1 | -3/+5 |
| | | |||||
| * | Fix test class | Jordi Boggiano | 2017-03-20 | 1 | -1/+1 |
| | | |||||
| * | Remove return annotations | Jordi Boggiano | 2017-03-20 | 1 | -2/+2 |
| | | |||||
| * | Remove strict types from test suite | Jordi Boggiano | 2017-03-20 | 1 | -1/+1 |
| | | |||||
* | | Use callable typehint where possible + Removed dead code (#996) | Grégoire Pineau | 2017-06-19 | 1 | -11/+3 |
| | | | | | | | | | | | | | | | | * Removed dead code * Use callable typehint where possible * Removed PHP5.3 workaround | ||||
* | | Avoid assertion-free test | Jordi Boggiano | 2017-06-19 | 1 | -0/+1 |
| | | |||||
* | | Use namespaced phpunit classes, fixes #983 | Jordi Boggiano | 2017-06-19 | 1 | -1/+1 |
| | | |||||
* | | Split expectException calls with two parameters into the proper two calls | Chris Forrence | 2017-03-21 | 1 | -1/+2 |
| | | |||||
* | | Replace deprecated setExpectedException methods with expectException | Chris Forrence | 2017-03-21 | 2 | -2/+2 |
| | | |||||
* | | Fix tests | Jordi Boggiano | 2017-03-20 | 1 | -2/+2 |
| | | |||||
* | | CS fixes | Jordi Boggiano | 2017-03-20 | 5 | -19/+23 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2017-03-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix 5.3 support | Jordi Boggiano | 2017-03-20 | 1 | -3/+3 |
| | | |||||
| * | Add level parameter to payload when reporting Rollbar exceptions (#852) | Erik Johansson | 2017-03-20 | 1 | -0/+82 |
| | | |||||
* | | Add level parameter to payload when reporting Rollbar exceptions (#852) | Erik Johansson | 2017-03-19 | 1 | -0/+82 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2017-03-17 | 1 | -3/+14 |
|\ \ | |/ | |||||
| * | Fix tests | Jordi Boggiano | 2017-03-17 | 1 | -2/+2 |
| | | |||||
| * | Fix array syntax for Travis CI | ont | 2017-03-15 | 1 | -2/+2 |
| | | |||||
| * | Complete rfc5424 header for SyslogUdpHandler | ont | 2017-03-15 | 1 | -4/+15 |
| | | | | | | | | | | WARN: this commit adds backward incompatibility for the SyslogUdpHandler constructor. | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2017-03-12 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Allow to set custom event_id [LEGACY] (#930) | Tim Strijdhorst | 2017-03-12 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | * +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 | ||||
* | | Logmatic fix (#914) | Guillaume Polaert | 2017-03-12 | 1 | -2/+2 |
| | | | | | | | | * Adding the marker field to improve the Logmatic.io compatibilty | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-12-16 | 2 | -59/+106 |
|\ \ | |/ | |||||
| * | Slack improvements (#894) | Anton Nizhegorodov | 2016-12-13 | 2 | -59/+106 |
| | | | | | | | | | | | | | | | | | | | | - [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 | ||||
* | | Remove remaining artifacts from mlehner/gelf-php (#896) | Remon van de Kamp | 2016-12-13 | 2 | -120/+0 |
| | | |||||
* | | Fix tests | Jordi Boggiano | 2016-11-26 | 3 | -3/+3 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-26 | 4 | -15/+513 |
|\ \ | |/ | |||||
| * | Add unit test for SlackbotHandler | Haralan Dobrev | 2016-11-19 | 1 | -0/+47 |
| | | |||||
| * | Add unit tests for SlackWebhookHandler | Haralan Dobrev | 2016-11-19 | 1 | -0/+106 |
| | | |||||
| * | Do not put empty Slack attachments array by default | Haralan Dobrev | 2016-11-19 | 1 | -3/+2 |
| | | |||||
| * | Fix SlackHandler | Anton Nizhegorodov | 2016-11-19 | 1 | -1/+1 |
| | | | | | | | | Slack API requires to json_encode the attachment field. | ||||
| * | Fix SlackRecordTest | Anton Nizhegorodov | 2016-11-19 | 1 | -3/+2 |
| | | |||||
| * | Update SlackHandler tests && allow SlackRecord formatter change after ↵ | Anton Nizhegorodov | 2016-11-19 | 2 | -5/+20 |
| | | | | | | | | construction | ||||
| * | Make sure extra/context variables are stringified when more than one level deep | Anton Nizhegorodov | 2016-11-19 | 1 | -1/+1 |
| | | |||||
| * | Add more tests to SlackRecordTest | Anton Nizhegorodov | 2016-11-19 | 1 | -0/+247 |
| | | | | | | | | | | Conflicts: - tests/Monolog/Handler/Slack/SlackRecordTest.php - merged the tests | ||||
| * | Add initial tests for SlackRecord | Haralan Dobrev | 2016-11-19 | 1 | -0/+84 |
| | | |||||
| * | Use constants for Slack colors | Haralan Dobrev | 2016-11-19 | 1 | -8/+9 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-16 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Make protected generic methods public | Julien Falque | 2016-11-16 | 1 | -0/+4 |
| | | |||||
* | | Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf ↵ | Jordi Boggiano | 2016-11-14 | 1 | -2/+2 |
| | | | | | | | | cost anymore | ||||
* | | Fix UdpSocket tests | Jordi Boggiano | 2016-11-14 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #868 from ComaVN/noop-handler | Jordi Boggiano | 2016-11-13 | 1 | -0/+49 |
|\ \ | | | | | | | Added the NoopHandler. | ||||
| * | | removed unused data provider in test | Roel Harbers | 2016-10-12 | 1 | -10/+0 |
| | | | |||||
| * | | Added the NoopHandler. | Roel Harbers | 2016-10-12 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | | | This handler handles anything, but does nothing, and does not stop bubbling to the rest of the stack. This can be used for testing, or to disable a handler when overriding a configuration without influencing the rest of the stack. | ||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-11-13 | 1 | -0/+26 |
|\ \ \ | | |/ | |/| | |||||
| * | | Make the RavenHandler picks the first highest record as main | Tugdual Saunier | 2016-10-13 | 1 | -0/+26 |
| | | | |||||
* | | | Fix Redis test failures | Jordi Boggiano | 2016-11-13 | 1 | -0/+12 |
| | | | |||||
* | | | Fix tests for sentry/sentry >= 0.16.0 (and < 1.0) | Shawn Iwinski | 2016-11-06 | 2 | -2/+34 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | From composer.json: `"sentry/sentry": "^0.13"` Latest 0.x `sentry/sentry`: 0.22.0 sentry/sentry 0.16.0 changed the function signature of Raven_Client::capture(): 0.16.0: `public function capture($data, $stack = null, $vars = null)` 0.15.0: `public function capture($data, $stack, $vars = null)` While the test suite silently passes with PHP < 7.1, running the test suite with PHP 7.1 fails with the following error: `Declaration of Monolog\Handler\MockRavenClient::capture($data, $stack, $vars = NULL) should be compatible with Raven_Client::capture($data, $stack = NULL, $vars = NULL)` | ||||
* | | Fix type errors, thanks phan | Jordi Boggiano | 2016-09-25 | 1 | -11/+11 |
| | | |||||
* | | CS fixes | Jordi Boggiano | 2016-09-25 | 9 | -11/+11 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-09-25 | 1 | -1/+20 |
|\ \ | |/ | |||||
| * | Make sure SyslogUdpHandler does not create empty frames where not necessary, ↵ | Jordi Boggiano | 2016-09-25 | 1 | -1/+17 |
| | | | | | | | | fixes #841 | ||||
* | | Undo this LocalSocket fiasco, fix tests for latest phpunit | Jordi Boggiano | 2016-09-25 | 14 | -209/+441 |
| | | |||||
* | | Fixing the socket mess, maybe. | Jordi Boggiano | 2016-09-19 | 8 | -349/+73 |
| | | |||||
* | | Fix lower tests | Jordi Boggiano | 2016-09-19 | 1 | -21/+43 |
| | | |||||
* | | Fix a ton of tests for latest phpunit and turn faked-stream tests into real ↵ | Jordi Boggiano | 2016-09-19 | 17 | -378/+418 |
| | | | | | | | | network tests with a local server | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-07-29 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | Fix tests | Jordi Boggiano | 2016-07-29 | 1 | -3/+3 |
| | | |||||
| * | Allow formatting of message by setting a line formatter on SlackHandler, ↵ | Jordi Boggiano | 2016-07-29 | 1 | -0/+18 |
| | | | | | | | | fixes #829 | ||||
* | | Merge branch '1.x', fixes #771 | Jordi Boggiano | 2016-07-29 | 1 | -0/+4 |
|\ \ | |/ | |||||
* | | Allow alternative date separators for RotatingFileHandler | Remon van de Kamp | 2016-07-14 | 1 | -0/+12 |
| | | | | | | | | | | | | Currently only dashes are allowed in date formats (i.e., "Y-m-d"). This commit also allows slashes, underscores and dots to be used instead of only dashes for more flexibility. | ||||
* | | CS fixes | Jordi Boggiano | 2016-07-02 | 2 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'JulienBreux/feature/logmatic' | Jordi Boggiano | 2016-07-02 | 1 | -0/+84 |
|\ \ | |||||
| * | | Add Logmatic.io | Julien Breux | 2016-06-28 | 1 | -0/+84 |
| | | | |||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-07-02 | 1 | -0/+23 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | Fix GroupHandler::handleBatch when the handler has processors, fixes #814 | Jordi Boggiano | 2016-07-02 | 1 | -0/+23 |
| | | |||||
* | | Fix method case | Jordi Boggiano | 2016-05-27 | 1 | -1/+1 |
| | | |||||
* | | More amqp fixes | Jordi Boggiano | 2016-05-27 | 1 | -5/+1 |
| | | |||||
* | | Move to strict mode and fix tests | Jordi Boggiano | 2016-05-27 | 48 | -56/+57 |
| | | |||||
* | | Auto-detecting of mime type for emails and switched to HtmlFormatter for ↵ | Jordi Boggiano | 2016-05-26 | 2 | -0/+2 |
| | | | | | | | | emails by default, fixes #577 | ||||
* | | Make handlers more serializable by default by having them close() before ↵ | Jordi Boggiano | 2016-05-26 | 1 | -5/+30 |
| | | | | | | | | sleeping, fixes #365 | ||||
* | | CS fixes | Jordi Boggiano | 2016-05-26 | 40 | -385/+385 |
| | | |||||
* | | Change the way objects are normalized to avoid multi-levels of json ↵ | Jordi Boggiano | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | encoding, fixes #560 | ||||
* | | Coding style fixes, refs #720 | Jordi Boggiano | 2016-05-26 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'ArSn/master' | Jordi Boggiano | 2016-05-26 | 1 | -0/+195 |
|\ \ | |||||
| * | | Replaced indention tabs with 4 spaces in ProcessHandler and its test. | kolja | 2016-01-15 | 1 | -176/+176 |
| | | | |||||
| * | | Removed obsolete var_export(). Made construction argument validation tests ↵ | kolja | 2016-01-15 | 1 | -14/+3 |
| | | | | | | | | | | | | simpler and more readable. | ||||
| * | | Created "ProcessHandler", that logs records to the STDIN of a custom ↵ | kolja | 2016-01-15 | 1 | -0/+206 |
| | | | | | | | | | | | | process, defined by given command. | ||||
* | | | Set default date format to have a timezone, fixes #196 | Jordi Boggiano | 2016-05-26 | 3 | -4/+4 |
| | | | |||||
* | | | Switch to DateTimeImmutable everywhere | Jordi Boggiano | 2016-05-20 | 4 | -16/+16 |
| | | | |||||
* | | | Remove HipChat API v1 support | Jordi Boggiano | 2016-05-20 | 1 | -44/+0 |
| | | | |||||
* | | | Make TestCase class available to dependents to help with testing | Jordi Boggiano | 2016-05-20 | 43 | -43/+43 |
| | | | |||||
* | | | Merge remote-tracking branch 'rpkamp/master' | Jordi Boggiano | 2016-05-20 | 1 | -12/+6 |
|\ \ \ | |||||
| * | | | Lock down RotateFileHandler to prevent errors with rotation | Remon van de Kamp | 2016-04-18 | 1 | -10/+82 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Require the dateFormat to be one of three presets ('Y-m-d', 'Y-m' or 'Y') to ensure that dates can be sorted lexographically - Require the filenameFormat to contain the (sub)string `{date}` so we will actually create new files instead of the same file over and over again. | ||||
* | | | | Merge branch '1.x' | Jordi Boggiano | 2016-05-20 | 3 | -10/+154 |
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | |||||
| * | | Fix NewRelicHandler error when using LineFormatter | Michael Moussa | 2016-05-20 | 1 | -0/+8 |
| | | | |||||
| * | | Add deprecation errors on RotatingFileHandler (#774) | Remon van de Kamp | 2016-05-20 | 1 | -10/+122 |
| | | | | | | | | | | | | | | | | | | * 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. | ||||
| * | | FingersCrossed: Adapt test for extraction of activate from handle() | Nils Adermann | 2016-04-15 | 1 | -1/+9 |
| | | | |||||
| * | | Add a test that verifies manual overriding of activation strategy works | Nils Adermann | 2016-04-14 | 1 | -0/+16 |
| | | | |||||
* | | | Removed substr call in amqp routing key generator | Jeroen Thora | 2016-04-14 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-04-12 | 3 | -0/+201 |
|\ \ \ | |/ / | |||||
| * | | Fix handling of messages with new lines | Jordi Boggiano | 2016-04-12 | 1 | -2/+2 |
| | | | |||||
| * | | Fix bug when messages contain colons | Jordi Boggiano | 2016-04-12 | 1 | -2/+2 |
| | | | |||||
| * | | Add ability to use formatter in email subject lines | Jordi Boggiano | 2016-04-12 | 2 | -0/+36 |
| | | | |||||
| * | | Add DeduplicationHandler to avoid spamming the same log records over and over | Jordi Boggiano | 2016-04-12 | 1 | -0/+165 |
| | | |