Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix level map override when using setExceptionHandler, fixes #1005 | Jordi Boggiano | 2017-06-19 | 1 | -19/+5 |
| | |||||
* | Merge branch '1.x' | Jordi Boggiano | 2017-06-19 | 4 | -8/+30 |
|\ | |||||
| * | Fix DyanmoDbHandler test suite | Jordi Boggiano | 2017-06-19 | 1 | -2/+9 |
| | | |||||
| * | Make sure this works on any hostname | Jordi Boggiano | 2017-06-19 | 1 | -1/+1 |
| | | |||||
| * | 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. | ||||
* | | 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 | ||||
* | | LogstashFormatter: format context and extra fields as JSON objects (#976) | Elnur Abdurrakhimov | 2017-06-19 | 1 | -11/+15 |
| | | | | | | | | | | BC Break * For Logstash, format context as object instead of individual fields * For Logstash, format extra as object instead of individual fields | ||||
* | | Avoid assertion-free test | Jordi Boggiano | 2017-06-19 | 1 | -0/+1 |
| | | |||||
* | | Use namespaced phpunit classes, fixes #983 | Jordi Boggiano | 2017-06-19 | 14 | -14/+14 |
| | | |||||
* | | Make sure this works on any hostname | Jordi Boggiano | 2017-06-19 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'chrisforrence/tests-replace-deprecated-methods' | Jordi Boggiano | 2017-06-19 | 4 | -6/+9 |
|\ \ | |||||
| * | | Split expectException calls with two parameters into the proper two calls | Chris Forrence | 2017-03-21 | 2 | -3/+6 |
| | | | |||||
| * | | Replace deprecated setExpectedException methods with expectException | Chris Forrence | 2017-03-21 | 4 | -6/+6 |
| | | | |||||
* | | | Rename level_num to monolog_level, refs #960 | Jordi Boggiano | 2017-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Merge remote-tracking branch 'pupsschluepfer/master' | Jordi Boggiano | 2017-06-18 | 1 | -0/+1 |
|\ \ \ | |||||
| * \ \ | Merge remote-tracking branch 'upstream/master' | Benjamin Pentzold | 2017-05-22 | 1 | -0/+4 |
| |\ \ \ | |||||
| * | | | | map loglevel (int-value) to log-message, as well | Benjamin Pentzold | 2017-03-28 | 1 | -0/+1 |
| | |/ / | |/| | | |||||
* | | | | Merge branch '1.x' | Jordi Boggiano | 2017-06-18 | 1 | -4/+28 |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | |||||
| * | | Use GELF max length per field and make max length configurable in constructor | Enleur | 2017-04-07 | 1 | -4/+28 |
| | | | |||||
| * | | 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 |
| | | | |||||
* | | | Skipping DateTime microsecond test in PHP 7.1.3, because of ↵ | Sam-Burns | 2017-04-01 | 1 | -0/+4 |
| |/ |/| | | | | | https://bugs.php.net/bug.php?id=74258 | ||||
* | | Fix tests | Jordi Boggiano | 2017-03-20 | 1 | -2/+2 |
| | | |||||
* | | CS fixes | Jordi Boggiano | 2017-03-20 | 7 | -22/+25 |
| | | |||||
* | | 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. | ||||
* | | Handle DateTime objects in formatted messages (#940) | Piers Warmers | 2017-03-14 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | * Handle DateTime objects in formatted meessages * Use interface to catch both DateTime and DateTimeImmutable * Maintain formatting standards. * Visibility to private. | ||||
* | | 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 | ||||
* | | Improves code coverage (#926) | Níckolas Daniel da Silva | 2017-03-12 | 1 | -2/+81 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 100% coverage on ErrorHandler::codeToString * 100% coverage on ErrorHandler::registerFatalHandler * fix typo * covers ErrorHandler::register() and left conditions on purpose * 100% coverage on ErrorHandler::registerErrorHandler() * 100% coverage on ErrorHandler::registerExceptionHandler() * Checks for possible interface breaking changes * 100% coverage on ErrorHandler::codeToString 100% coverage on ErrorHandler::registerFatalHandler covers ErrorHandler::register() and left conditions on purpose 100% coverage on ErrorHandler::registerErrorHandler() 100% coverage on ErrorHandler::registerExceptionHandler() | ||||
* | | 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 | 3 | -121/+1 |
| | | |||||
* | | 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 |
| | | |||||
| * | Fix PHP7.1 DateTime support | Jordi Boggiano | 2016-11-17 | 1 | -1/+1 |
| | | |||||
* | | 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 | 2 | -5/+7 |
| | | | | | | | | 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)` | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-10-03 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | Add total amount of items when aborting traversable normalization | Jordi Boggiano | 2016-10-03 | 1 | -0/+18 |
| | | |||||
* | | Fix type errors, thanks phan | Jordi Boggiano | 2016-09-25 | 2 | -13/+13 |
| | | |||||
* | | When newlines are allowed in LineFormatter, unpack json_encoded blobs ↵ | Jordi Boggiano | 2016-09-25 | 1 | -0/+18 |
| | | | | | | | | containing newlines into multiline strings, fixes #752 | ||||
* | | CS fixes | Jordi Boggiano | 2016-09-25 | 12 | -23/+25 |
| | | |||||
* | | 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 | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-09-25 | 1 | -0/+41 |
|\ \ | |/ | |||||
| * | Make hg test optional | Jordi Boggiano | 2016-09-25 | 1 | -0/+10 |
| | | |||||
| * | add MercurialProcessor | Jonathan A. Schweder | 2016-09-25 | 1 | -0/+31 |
| | | |||||
* | | Maybe now? | Jordi Boggiano | 2016-09-25 | 1 | -2/+2 |
| | | |||||
* | | Fix datetime rounding errors on travis | Jordi Boggiano | 2016-09-25 | 1 | -4/+3 |
| | | |||||
* | | Undo this LocalSocket fiasco, fix tests for latest phpunit | Jordi Boggiano | 2016-09-25 | 15 | -443/+441 |
| | | |||||
* | | Fixing the socket mess, maybe. | Jordi Boggiano | 2016-09-19 | 9 | -349/+307 |
| | | |||||
* | | 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 | 18 | -400/+442 |
| | | | | | | | | network tests with a local server | ||||
* | | Fixes microsecond timezone support, fixes #832 | Jordi Boggiano | 2016-09-19 | 1 | -0/+50 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-09-18 | 1 | -29/+85 |
|\ \ | |/ | |||||
| * | Refactored JsonFormatter tests to more readable structure | Nerijus Eimanavičius | 2016-08-28 | 1 | -39/+72 |
| | | |||||
| * | Better support for PHP7 \Throwable | Nerijus Eimanavičius | 2016-08-28 | 1 | -0/+28 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-07-29 | 2 | -0/+45 |
|\ \ | |/ | |||||
| * | Fix tests | Jordi Boggiano | 2016-07-29 | 2 | -3/+7 |
| | | |||||
| * | Merge remote-tracking branch 'francisbesset/feat-soapfault' into 1.x | Jordi Boggiano | 2016-07-29 | 1 | -0/+23 |
| |\ | |||||
| | * | Added informations to normalize a SoapFault | Francis Besset | 2016-07-20 | 1 | -0/+23 |
| | | | |||||
| * | | 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 | 2 | -0/+120 |
|\ \ | |||||
| * | | Add Logmatic.io | Julien Breux | 2016-06-28 | 2 | -0/+120 |
| | | | |||||
* | | | 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 |
| | | |