Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Update README.md | Jordi Boggiano | 2017-01-20 | 1 | -1/+2 | |
| | | | ||||||
* | | | Add documentation on internal log message structure (#895) | Remon van de Kamp | 2017-01-20 | 1 | -0/+18 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | * Add documentation on internal log message structure * Fix typo and remove untrue comment * Fix a few typos * Mention that message placeholders will only be replaced when the PsrLogMessageProcessor is in use * Clarify channel field in message-structure.md | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-12-16 | 7 | -104/+201 | |
|\ \ | |/ | ||||||
| * | Slack improvements (#894) | Anton Nizhegorodov | 2016-12-13 | 5 | -104/+201 | |
| | | | | | | | | | | | | | | | | | | | | - [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 | |||||
| * | Merge pull request #897 from vlakoff/readme | Jordi Boggiano | 2016-12-04 | 2 | -0/+0 | |
| |\ | | | | | | | Rename Markdown files to use the regular file extension | |||||
| | * | Rename Markdown files to use the regular file extension | vlakoff | 2016-12-03 | 2 | -0/+0 | |
| |/ | ||||||
* | | Remove remaining artifacts from mlehner/gelf-php (#896) | Remon van de Kamp | 2016-12-13 | 3 | -121/+1 | |
| | | ||||||
* | | Fixed Logstash event format link (#898) | Michal Zuber | 2016-12-13 | 1 | -1/+1 | |
| | | ||||||
* | | More interface updates | Jordi Boggiano | 2016-11-27 | 2 | -2/+2 | |
| | | ||||||
* | | Interface updates | Jordi Boggiano | 2016-11-27 | 2 | -2/+2 | |
| | | ||||||
* | | Fix tests | Jordi Boggiano | 2016-11-26 | 3 | -3/+3 | |
| | | ||||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-26 | 11 | -170/+1009 | |
|\ \ | |/ | ||||||
| * | Finalize 1.22 readme1.22.0 | Jordi Boggiano | 2016-11-26 | 1 | -2/+3 | |
| | | ||||||
| * | Merge pull request #891 from naderman/t/do-not-iterate-non-arrays | Jordi Boggiano | 2016-11-26 | 1 | -6/+2 | |
| |\ | | | | | | | Do not iterate non-array Traversables | |||||
| | * | Don't even try to attempt normalizing iterators or generators in context | Nils Adermann | 2016-11-24 | 1 | -6/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Iterators and Generators may not be rewindable, so foreach is not safe to use on them. Iterators and especially Generators may trigger irreversible actions on calling next(), so iterating over all values can potentially cause harm, e.g. imagine an iterator over a set of HTTP POST requests that are sent when the next value is requested . The only sufficiently safe thing to iterate and include here are primitive arrays. | |||||
| * | | Merge pull request #846 from hkdobrev/slack-webhooks | Jordi Boggiano | 2016-11-26 | 9 | -158/+1001 | |
| |\ \ | | |/ | |/| | Add new Slack handlers using Slackbot and webhooks | |||||
| | * | 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 | 2 | -4/+2 | |
| | | | ||||||
| | * | Format constructors on a single line | Haralan Dobrev | 2016-11-19 | 2 | -18/+4 | |
| | | | | | | | | | | | | This is for consistency with the rest of the handlers. | |||||
| | * | Make message formatting behaviour same as previous version | Anton Nizhegorodov | 2016-11-19 | 2 | -1/+25 | |
| | | | ||||||
| | * | Fix SlackHandler | Anton Nizhegorodov | 2016-11-19 | 2 | -1/+5 | |
| | | | | | | | | | | | | Slack API requires to json_encode the attachment field. | |||||
| | * | Add missing PHPDoc types | Haralan Dobrev | 2016-11-19 | 1 | -3/+3 | |
| | | | ||||||
| | * | Fix SlackRecordTest | Anton Nizhegorodov | 2016-11-19 | 1 | -3/+2 | |
| | | | ||||||
| | * | Refactor SlackRecord | Anton Nizhegorodov | 2016-11-19 | 1 | -37/+47 | |
| | | | ||||||
| | * | Update SlackHandler tests && allow SlackRecord formatter change after ↵ | Anton Nizhegorodov | 2016-11-19 | 4 | -5/+39 | |
| | | | | | | | | | | | | construction | |||||
| | * | Codereview fixes based on @stof comments | Anton Nizhegorodov | 2016-11-19 | 3 | -32/+15 | |
| | | | ||||||
| | * | Make sure extra/context variables are stringified when more than one level deep | Anton Nizhegorodov | 2016-11-19 | 2 | -4/+4 | |
| | | | ||||||
| | * | Add more tests to SlackRecordTest | Anton Nizhegorodov | 2016-11-19 | 1 | -0/+247 | |
| | | | | | | | | | | | | | | | Conflicts: - tests/Monolog/Handler/Slack/SlackRecordTest.php - merged the tests | |||||
| | * | No need for extra json_encode | Anton Nizhegorodov | 2016-11-19 | 1 | -1/+1 | |
| | | | ||||||
| | * | Add initial tests for SlackRecord | Haralan Dobrev | 2016-11-19 | 1 | -0/+84 | |
| | | | ||||||
| | * | Make SlackRecord::stringify() work without a line formatter | Haralan Dobrev | 2016-11-19 | 1 | -1/+5 | |
| | | | ||||||
| | * | Expose a getter for the SlackRecord in Slack handlers | Haralan Dobrev | 2016-11-19 | 2 | -0/+10 | |
| | | | ||||||
| | * | Mark former public methods of SlackHandler as deprecated | Haralan Dobrev | 2016-11-19 | 1 | -0/+12 | |
| | | | | | | | | | | | | The SlackRecord could be used now | |||||
| | * | Use constants for Slack colors | Haralan Dobrev | 2016-11-19 | 2 | -12/+21 | |
| | | | ||||||
| | * | Adds new Slack handlers to the docs | Haralan Dobrev | 2016-11-19 | 1 | -1/+3 | |
| | | | ||||||
| | * | Add a Slack Webhooks handler using the same SlackRecord util | Haralan Dobrev | 2016-11-19 | 1 | -0/+96 | |
| | | | ||||||
| | * | Make channel in SlackRecord optional to allow for webhooks | Haralan Dobrev | 2016-11-19 | 1 | -1/+4 | |
| | | | ||||||
| | * | Extract logic for preparing Slack data to SlackRecord | Haralan Dobrev | 2016-11-19 | 2 | -152/+253 | |
| | | | | | | | | | | | | Keep the protected interface of the SlackHandler intact. | |||||
| | * | Add a Slackbot handler | Haralan Dobrev | 2016-11-19 | 1 | -0/+84 | |
| |/ | | | | | | | | | This is the simplest way to log to Slack using the Slackbot. It supports only plain text with automatic linking of URLs and mentions. | |||||
| * | Merge pull request #887 from remicollet/travis-php71 | Jordi Boggiano | 2016-11-17 | 1 | -0/+1 | |
| |\ | | | | | | | enable 7.1 on travis | |||||
| | * | enable 7.1 on travis | Remi Collet | 2016-11-17 | 1 | -0/+1 | |
| | | | ||||||
* | | | Merge pull request #893 from jaschweder/patch-1 | Jordi Boggiano | 2016-11-25 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | add MercurialProcessor to docs | |||||
| * | | | add MercurialProcessor to docs | Jonathan André Schweder | 2016-11-25 | 1 | -0/+1 | |
|/ / / | ||||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-11-17 | 0 | -0/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Fix PHP7.1 DateTime support | Jordi Boggiano | 2016-11-17 | 2 | -2/+3 | |
| |/ | ||||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-16 | 2 | -3/+7 | |
|\ \ | |/ | ||||||
| * | Make protected generic methods public | Julien Falque | 2016-11-16 | 2 | -3/+7 | |
| | | ||||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-15 | 2 | -1/+21 | |
|\ \ | |/ | ||||||
| * | CS | Jordi Boggiano | 2016-11-15 | 1 | -1/+1 | |
| | | ||||||
| * | isolate fwrite to allow override | Jay MOULIN | 2016-11-15 | 1 | -1/+11 | |
| | | ||||||
| * | Prepare 1.22 changelog | Jordi Boggiano | 2016-11-13 | 1 | -0/+10 | |
| | | ||||||
* | | Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf ↵ | Jordi Boggiano | 2016-11-14 | 4 | -8/+16 | |
| | | | | | | | | cost anymore | |||||
* | | Fix UdpSocket tests | Jordi Boggiano | 2016-11-14 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #879 from martijncalker/add-sqshandler | Jordi Boggiano | 2016-11-14 | 2 | -0/+54 | |
|\ \ | | | | | | | Add SqsHandler | |||||
| * | | Tiny wording fix | Jordi Boggiano | 2016-11-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add SqsHandler | Martijn van Calker | 2016-11-14 | 2 | -0/+54 | |
| | | | ||||||
* | | | Merge pull request #824 from adambro/patch-1 | Jordi Boggiano | 2016-11-14 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Throw RuntimeException if socket resource is missing | |||||
| * | | | Throw RuntimeException if socket resource is missing | Adam Brodziak | 2016-07-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The socket resource can be closed, purged or lost during the runtime of an application. It is valid concern, because the resource is acquired and used at different times during request. LogicException is more for static preconditions that have to be valid before function call. | |||||
* | | | | Merge pull request #868 from ComaVN/noop-handler | Jordi Boggiano | 2016-11-13 | 3 | -0/+93 | |
|\ \ \ \ | | | | | | | | | | | 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 | 3 | -0/+103 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 5 | -6/+51 | |
|\ \ \ \ \ | | |_|_|/ | |/| | | | ||||||
| * | | | | Add a RollbarHandler::flush() and make it close automatically on shutdown, ↵ | Jordi Boggiano | 2016-11-13 | 1 | -4/+17 | |
| | | | | | | | | | | | | | | | | | | | | fixes #864, closes #865 | |||||
| * | | | | Optimize removal of leftover extra/context placeholders, refs #866 | Jordi Boggiano | 2016-11-13 | 1 | -3/+5 | |
| | | | | | ||||||
| * | | | | Merge pull request #866 from p-golovin/patch-1 | Jordi Boggiano | 2016-11-13 | 1 | -0/+4 | |
| |\ \ \ \ | | | | | | | | | | | | | Remove substitution for not defined variables | |||||
| | * | | | | Update LineFormatter.php | Pavel Golovin | 2016-10-10 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | Remove substitution for not defined variables | Pavel Golovin | 2016-10-10 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders | |||||
| * | | | | | Allow overriding the routing key in AMQPHandler, fixes #874 | Jordi Boggiano | 2016-11-13 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | Merge pull request #870 from tucksaun/fix-raven-handler-picking-wrong-event | Jordi Boggiano | 2016-11-13 | 2 | -1/+27 | |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | Make the RavenHandler picks the first highest record as main | |||||
| | * | | | | Make the RavenHandler picks the first highest record as main | Tugdual Saunier | 2016-10-13 | 2 | -1/+27 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #872 from riccardomessineo/master | Jordi Boggiano | 2016-11-13 | 1 | -2/+3 | |
|\ \ \ \ \ | | | | | | | | | | | | | SlackHandler, new parameter $printSimpleMessage | |||||
| * | | | | | New parameter $printSimpleMessage default false (Whether the attachment ↵ | Riccardo Messineo | 2016-10-18 | 1 | -2/+3 | |
| | |/ / / | |/| | | | | | | | | | | | | | should include only the message without extradata) | |||||
* | | | | | Cache version_compare call, refs #884 | Jordi Boggiano | 2016-11-13 | 1 | -3/+13 | |
| | | | | | ||||||
* | | | | | Merge pull request #884 from nikolaposa/fix/mongodb-formatter-date | Jordi Boggiano | 2016-11-13 | 1 | -0/+20 | |
|\ \ \ \ \ | | | | | | | | | | | | | Fixing date/time formatting in MongoDBFormatter | |||||
| * | | | | | Fixing date/time formatting in MongoDBFormatter. | Nikola Posa | 2016-11-10 | 1 | -0/+20 | |
| | | | | | | ||||||
* | | | | | | Fix Redis test failures | Jordi Boggiano | 2016-11-13 | 1 | -0/+12 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #880 from siwinski/pr-fix-test-for-sentry-gte-0-16-0 | Jordi Boggiano | 2016-11-13 | 2 | -2/+34 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix tests for sentry/sentry >= 0.16.0 (and < 1.0) | |||||
| * | | | | | | 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)` | |||||
* | | | | | | Cast toJson to string in case it returns false, fixes #878 | Jordi Boggiano | 2016-11-13 | 1 | -1/+1 | |
| |/ / / / |/| | | | | ||||||
* | | | | | Merge pull request #881 from aryeguy/patch-1 | Jordi Boggiano | 2016-11-07 | 1 | -3/+2 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Added return type annotation | |||||
| * | | | | Use type hints instead of phpdoc | Jordi Boggiano | 2016-11-07 | 1 | -5/+2 | |
| | | | | | ||||||
| * | | | | Added return type annotation | Guy Arye | 2016-11-07 | 1 | -0/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #876 from jeroenseegers/patch-1 | Jordi Boggiano | 2016-10-31 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / |/| | | | Minimum required PHP version in README | |||||
| * | | | Point users to older release to avoid confusion on the default README | Jordi Boggiano | 2016-10-31 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Minimum required PHP version in README | Jeroen Seegers | 2016-10-31 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | | | | Updated the minimum required PHP version in README from 5.3 to 7.0 as detailed in `composer.json`. Fixes #873 | |||||
* | | | Merge pull request #861 from merorafael/patch-1 | Jordi Boggiano | 2016-10-04 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | Added Yii2 component on README.mdown | |||||
| * | | | Update README.mdown | Rafael Mello | 2016-10-03 | 1 | -0/+1 | |
|/ / / | | | | | | | Added Yii2 plugin | |||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-10-03 | 2 | -1/+19 | |
|\ \ \ | |/ / | ||||||
| * | | Add total amount of items when aborting traversable normalization | Jordi Boggiano | 2016-10-03 | 2 | -1/+19 | |
| | | | ||||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-09-29 | 1 | -0/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Add support for consumed generators in NormalizerFormatter, fixes #838 | Jordi Boggiano | 2016-09-29 | 1 | -0/+4 | |
| | | | ||||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2016-09-29 | 3 | -8/+30 | |
|\ \ \ | |/ / | ||||||
| * | | Make sure MercurialProcessor fails gracefully | Jordi Boggiano | 2016-09-29 | 1 | -4/+8 | |
| | | | ||||||
| * | | Add support for AWS SDK v3 | Jordi Boggiano | 2016-09-29 | 2 | -4/+22 | |
| | | | ||||||
* | | | Skip phan error | Jordi Boggiano | 2016-09-29 | 1 | -0/+2 | |
| | | | ||||||
* | | | Add missing export-ignore, refs #856 | Jordi Boggiano | 2016-09-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix type errors, thanks phan | Jordi Boggiano | 2016-09-25 | 16 | -68/+56 | |
| | | | ||||||
* | | | Make use of random_bytes for better uniqueness | Jordi Boggiano | 2016-09-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add scalar types to processor/formatters and top level classes | Jordi Boggiano | 2016-09-25 | 29 | -196/+130 | |
| | | |