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

556 Commits

Author SHA1 Message Date
Jordi Boggiano
8a45ed75cc Auto-detecting of mime type for emails and switched to HtmlFormatter for emails by default, fixes #577 2016-05-26 22:41:41 +01:00
Jordi Boggiano
af7c0a7bda Make handlers more serializable by default by having them close() before sleeping, fixes #365 2016-05-26 21:13:52 +01:00
Jordi Boggiano
f200e79879 CS fixes 2016-05-26 20:54:06 +01:00
Jordi Boggiano
2ff7afda31 Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560 2016-05-26 19:21:47 +01:00
Jordi Boggiano
3d7842ec1e Coding style fixes, refs #720 2016-05-26 18:16:46 +01:00
Jordi Boggiano
8a379a3166 Merge remote-tracking branch 'ArSn/master' 2016-05-26 18:14:26 +01:00
Jordi Boggiano
76a91c6722 Set default date format to have a timezone, fixes #196 2016-05-26 18:04:51 +01:00
Jordi Boggiano
912d813c73 Add our own DateTime implementation to provide nicer JSON output, fixes #736 2016-05-20 21:33:27 +01:00
Jordi Boggiano
e27225dc40 Switch to DateTimeImmutable everywhere 2016-05-20 20:55:31 +01:00
Jordi Boggiano
6d2cfa63c9 Add support for custom logging level per exception class, and set ParseError to be CRITICAL 2016-05-20 20:45:16 +01:00
Jordi Boggiano
cb479a9b18 Remove HipChat API v1 support 2016-05-20 20:24:02 +01:00
Jordi Boggiano
d7b415c2c8 Make TestCase class available to dependents to help with testing 2016-05-20 20:09:02 +01:00
Jordi Boggiano
1161b23148 Fix logstash formatter tests 2016-05-20 20:07:04 +01:00
Jordi Boggiano
f19fffe870 Merge remote-tracking branch 'rpkamp/master' 2016-05-20 19:43:01 +01:00
Jordi Boggiano
3eee2a006b Merge branch '1.x' 2016-05-20 19:40:36 +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
Remon van de Kamp
1841e2ba88 Lock down RotateFileHandler to prevent errors with rotation
- 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.
2016-04-18 21:51:37 +02: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
Jeroen Thora
dbccc56a44 Removed substr call in amqp routing key generator 2016-04-14 12:54:01 +02:00
Jordi Boggiano
fbddc30416 Merge branch '1.x' 2016-04-12 19:21:19 +01: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
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