1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00
Commit Graph

532 Commits

Author SHA1 Message Date
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
b52d008491 Merge branch '1.x' 2016-04-10 13:01:49 +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
Jordi Boggiano
f6afa8624c Merge branch '1.x' 2016-04-10 12:50:34 +01:00
Jordi Boggiano
ccdc8b530c Truncate single messages if they go over the hipchat limit, fixes #629 2016-04-10 12:31:41 +01:00
Christian Flothmann
b437bb928a fix Gelf message formatter tests
Version 1.4.1 is the last version compatible with PHP < 5.3.9, but
filtered all message attributes with zero string length.
2016-04-05 15:51:16 +02:00
Jordi Boggiano
ef1568b89e Merge branch '1.x' 2016-04-02 14:13:15 +01:00
Jordi Boggiano
6bc1a444db Truncate messages if they reach the max length of GELF messages, fixes #751 2016-04-02 13:53:47 +01:00
Jordi Boggiano
f29dffeb16 Merge branch '1.x' 2016-03-13 16:20:29 +00:00
Jordi Boggiano
a9ccae25cb Fix elastica formatter test, refs #742 2016-03-13 16:20:24 +00:00
Malte Blättermann
9ef18f111f Added millis 2016-03-13 16:18:47 +00:00
Jean-Baptiste Nahan
50241e6ced Update AmqpHandlerTest.php 2016-03-13 16:05:23 +00:00
Jordi Boggiano
0c45c9b3d4 Merge pull request #740 from macintoshplus/macintoshplus-fix-content-type
Fix content_type for AMQP Message
2016-03-10 12:37:00 +01:00
Jordi Boggiano
3d04bc8410 Merge branch '1.x' 2016-03-09 11:43:06 +00:00
Jordi Boggiano
81045d5974 Fix tests 2016-03-09 11:43:02 +00:00
Jean-Baptiste Nahan
bbf96aae0f Update AmqpHandlerTest.php 2016-03-08 13:26:16 +01:00
Jordi Boggiano
f1091c3b97 CS fixes 2016-03-01 18:12:45 +00:00
Jordi Boggiano
3d30ba5ecc Add some return type hints and fix up HandlerWrapper 2016-03-01 17:35:54 +00:00
Jordi Boggiano
ba995ffd1e Merge branch '1.x' 2016-03-01 17:15:43 +00:00
Jordi Boggiano
5d6c2048c8 Merge pull request #724 from billybanfield/ISSUE-695
Support ext-mongodb in MongoDBHandler
2016-03-01 17:04:31 +00:00
Jordi Boggiano
25131bb5f6 Add context.* replacement in line formatter, fixes #717 2016-03-01 16:58:06 +00:00
Alexey Karapetov
c688ff17eb HandlerWrapper 2016-03-01 15:59:22 +00:00
Jordi Boggiano
dad186036c Merge pull request #711 from phansys/json_formatter_normalizer
Add ability to include exception's stack traces in `Monolog\Formatter\JsonFormatter`
2016-03-01 15:48:15 +00:00
Jordi Boggiano
6079ae8bfb Merge remote-tracking branch 'origin/1.0' into 1.x 2016-03-01 15:40:28 +00:00
Jordi Boggiano
b140e31884 Merge pull request #704 from dosten/unset-datetime-parameter
Unset the "datetime" parameter in LogglyFormatter
2016-03-01 15:33:13 +00:00
Jordi Boggiano
cb2778ae77 Add ->withName to clone a handler and get a new name, fixes #730 2016-02-13 16:47:31 +00:00
Grégoire Paris
f1a59c5e0f add release number to every log
This adds an internal release number to the raven handler. The release
number is added to what is sent to sentry unless something already is
present because a release number was sent via "context" or "extra".
2016-01-23 23:00:37 +01:00
Jeremy Mikola
f585e714fc Support ext-mongodb's UTCDateTime class in MongoDBFormatter
The legacy driver (i.e. ext-mongo) and MongoDate are not supported on PHP 7.
2016-01-21 16:22:47 -05:00
Jeremy Mikola
aa6ab660bd MongoDBHandler only supports ext-mongodb and mongodb/mongodb
The legacy driver (i.e. ext-mongo) is not supported on PHP 7, so there is no reason to leave behind its supporting code.
2016-01-21 15:58:45 -05:00
Will Banfield
f6a9fdbb2c Add case for if manager is passed in 2016-01-21 14:19:35 -05:00
Dmitriy Garanzha
e2a77060da Raven client fingerprint support 2016-01-20 11:39:44 +02:00
kolja
fbe0bae8c9 Replaced indention tabs with 4 spaces in ProcessHandler and its test. 2016-01-15 20:39:29 +01:00
kolja
f13011e03e Removed obsolete var_export(). Made construction argument validation tests simpler and more readable. 2016-01-15 20:21:02 +01:00
kolja
1be08de729 Created "ProcessHandler", that logs records to the STDIN of a custom process, defined by given command. 2016-01-15 19:07:19 +01:00
Javier Spagnoletti
e8e1d9efa3 Add ability to include exception's stack traces in Monolog\Formatter\JsonFormatter
| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |
2015-12-31 11:24:28 -03:00
Jeroen Thora
8ceda1b62e Removed unnecessary php version checks after php dependency bump to 7.0 2015-12-20 15:53:48 +01:00
Diego Saint Esteben
4422cdc2b6 Unset the "datetime" parameter in LogglyFormatter 2015-12-18 17:08:31 -03:00
Jordi Boggiano
6c424f851c Add a lot more scalar types and go strict in Logger 2015-12-18 17:48:48 +00:00
Jordi Boggiano
b5b773e12f Fix naming conflicts in PhpConsoleHandler 2015-12-18 17:48:45 +00:00
Jordi Boggiano
902c0c8694 Split interfaces and base/abstract classes into more sensible pieces 2015-12-18 17:48:40 +00:00
Jordi Boggiano
39f8a20e6d Remove non-PSR-3 methods for adding log records 2015-12-18 17:48:38 +00:00
Jordi Boggiano
6505e02fd3 Change timezone to be per-instance and not global 2015-12-18 17:48:36 +00:00
Jordi Boggiano
cab3ff71ff Add regression test for #691 and optimize implementation using a single pass loop over the handlers, refs #692 2015-11-26 23:48:42 +00:00
Sam Reed
e5bb0bf98a Remove excess parameter from createHandler
It only takes 3 parameters
2015-11-20 14:43:25 +00:00
Jordi Boggiano
0178fd4f09 CS fixes, refs #683 2015-11-18 17:53:15 +00:00
Jordi Boggiano
9532e979b6 Merge remote-tracking branch 'bd808/feature/clean-json' 2015-11-18 17:50:41 +00:00
Jordi Boggiano
0880801b4a Merge pull request #686 from apfelbox/hipchat-from
[HipChatHandler] Always send the "from" name
2015-11-18 17:12:52 +00:00
Jordi Boggiano
665453d06a Use json_encode for the whole message formatting, refs #686 2015-11-18 17:11:02 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00