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

1453 Commits

Author SHA1 Message Date
Minh-Quan TRAN
ada5d30511 If context has exactly 1000 items, do not truncate 2018-06-08 22:18:08 +02:00
Alban Kora
5f8783686e Fixing file rotation when similar files are present 2018-06-08 22:10:08 +02:00
Jordi Boggiano
1802e5ab25 Docblock improvements, fixes #1155 2018-06-08 21:58:29 +02:00
Jordi Boggiano
2893c2b875 Specify text color to improve dark theme support, refs #1128 2018-06-08 21:43:50 +02:00
Thomas Schulz
948bb4a6a0 Improve table row output in HtmlFormatter 2018-06-08 21:41:18 +02:00
Jordi Boggiano
12c9f58de2 Merge branch '1.x' 2018-06-08 21:08:04 +02:00
Jordi Boggiano
6d79e51f91 Tweaks to exception handler, refs #1012 2018-06-08 21:02:44 +02:00
Jordi Boggiano
4814446331 Merge remote-tracking branch 'vincepare/1.x' into 1.x 2018-06-08 20:44:28 +02:00
Chris Wilkinson
3035d4a251 Fix WhatFailureGroupHandler::handleBatch when the handler has processors 2018-06-08 20:39:17 +02:00
Jordi Boggiano
2e9de2a0db Merge pull request #1055 from chonaso/master
Fix Comparison operator in RotatingFileHandler
2018-06-08 20:30:13 +02:00
Jordi Boggiano
6b150e6c2c Merge pull request #1067 from Aerendir/Fix-#1066-Use-correct-docblock-castings
Fix #1066: Use correct docblock castings.
2018-06-08 20:28:26 +02:00
Jordi Boggiano
513e237375 Update docblocks some more 2018-06-08 20:27:50 +02:00
Jordi Boggiano
73c8bdd255 Merge pull request #1023 from dis1/fix-for-slack-record-encoding
fix-for-slack-record-encoding
2018-06-08 20:19:46 +02:00
Ben Dubuisson
22b92c7c00 Fixed message not being passed to client when capturing an exception
The raven client expects the message to be at the first level of the data array when passing an exception.
see https://github.com/getsentry/sentry-php/blob/master/lib/Raven/Client.php#L795
2018-06-08 20:19:10 +02:00
George Mponos
11b664d276 Fix constructor of slack 2018-06-08 20:30:09 +03:00
Jordi Boggiano
84c0b58c4b Merge pull request #1121 from glensc/patch-1
ErrorLogHandler: use strict comparison
2018-06-08 16:21:24 +02:00
Jordi Boggiano
cf33c12b4f Merge branch '1.x' 2018-06-08 12:51:51 +02:00
Josh McRae
c0eeca76fd Check for directory before throwing 'no existing directory' exception 2018-06-08 12:51:29 +02:00
Jordi Boggiano
7bb3fa2139 Merge pull request #1030 from HonzaMac/sqs-handler-check-size
Check maximum allowed size of sqs message
2018-06-08 12:39:50 +02:00
Tom Rochette
68cf3c69d1 Allow JsonFormatter maximum normalized depth and maximum number of items per level to be configured in the constructor. 2018-06-07 14:15:50 -04:00
Luke Waite
3507f48edb Remove conditional php version check for debug_backtrace legacy support (#1134) 2018-06-07 19:22:49 +02:00
Jordi Boggiano
61d906ff65 Merge pull request #1150 from luxifer/patch-1
fix @see reference for logstash
2018-06-07 19:14:47 +02:00
Jordi Boggiano
bd7b28e5ee Merge branch '1.x' 2018-06-07 18:49:40 +02:00
Jordi Boggiano
8c4539f1fe More boolean=>bool 2018-06-07 18:45:07 +02:00
Jordi Boggiano
5f85e657f8 Merge pull request #1077 from ErikBooij/1.x
Rename Boolean in phpDocs to bool on 1.x
2018-06-07 18:42:33 +02:00
Jordi Boggiano
9a2c747a0a Merge branch '1.x' 2018-06-07 18:30:00 +02:00
Jordi Boggiano
07681ea4ba Fix normalization of objects in SlackRecord, closes #1127 2018-06-07 18:28:46 +02:00
Jordi Boggiano
20091d25d3 Merge pull request #1144 from MilesChou/open-visibility-for-slack-handlers
Adjust visibility of some properties to protected for extend slack handlers
2018-06-07 18:28:19 +02:00
Jordi Boggiano
3319969e80 Merge branch '1.x' 2018-06-07 17:49:12 +02:00
tnucera
678693e5ef Add context to fluentd formatter 2018-06-07 17:47:43 +02:00
Jordi Boggiano
b0c1609d36 Merge pull request #1088 from MilesChou/1.x
Add getter for webhook url in SlackWebhookHandler class
2018-06-07 17:23:48 +02:00
Jakub Piasecki
a15c1daf91 Use late static bindings in BrowserConsoleHandler 2018-06-04 13:35:27 +02:00
Florent Viel
5f95356f3a fix @see reference for logstash
Logstash has a new home and is also writte in java instead of ruby.
2018-05-17 15:46:52 +02:00
Paul Webster
ccb95c08fd NewRelicHandler - handle Throwable in PHP7 2018-05-03 11:15:17 +12:00
MilesChou
985fdb3eae Add getter for webhook and token property 2018-04-25 15:51:22 +08:00
MilesChou
1107013b9c Open visibility for slack handlers 2018-04-24 23:17:02 +08:00
Avtandil Kikabidze
aad9de4d0d Fix unhandled throwable 2018-04-07 04:38:38 +04:00
Avtandil Kikabidze
1d006d80cb Add official ElasticSearch handler 2018-04-07 04:11:26 +04:00
Avtandil Kikabidze
1e4b86d228 Use ISO 8601 date constant 2018-04-07 03:50:12 +04:00
Avtandil Kikabidze
32563c49b7 Add elastic search formatter 2018-04-07 03:11:24 +04:00
Avtandil Kikabidze
57f3ca1791 Rename Elastica handler for naming consistency 2018-04-07 02:58:50 +04:00
Elan Ruusamäe
276135c0fe ErrorLogHandler: use strict comparison
otherwise `null` and `false` get accepted as valid types
2018-03-02 12:22:42 +02:00
Robert Gust-Bardon
4fea44bf96 Fix the reflection of constants in HHVM 2018-02-22 13:48:30 -06:00
Robert Gust-Bardon
cf979844dc Register signal handlers 2018-02-22 11:16:36 -06:00
elwin1234
9dba2f3431 Update RotatingFileHandler.php
Use own constant instead of hardcoded string for default dateFormat (const FILE_PER_DAY = 'Y-m-d';)
2018-02-14 15:47:48 +01:00
Hinrik Örn Sigurðsson
86d0984517 Set HTTP response code to 500 in case of exceptions
Resolves Seldaek/monolog#1096.
2018-01-26 14:04:19 +01:00
Damian Mooyman
2d9c905b76 ENHANCEMENT Ensure 'trace' is captured for non-exceptions
Fixes #693
2018-01-15 10:42:24 +13:00
MilesChou
18b93feea6 Add getter for webhook url in SlackWebhookHandler class
Add getter so that the subclass can easy to inherit SlackWebhookHandler class
2017-11-30 13:47:54 +08:00
Kris Buist
bd79504f1e Add a ThresholdHandler
This handler can be used to not let any messages from a certain lever through, unless they cross a configured threshold.
This is useful together with, for example, a MailHandler when some batch processing is done and you're only interested in
major failure and not a minor one.
2017-11-17 19:16:49 +01:00
Aerendir
9791cbcda3 Fix #1066: Use correct docblock castings. 2017-11-17 18:11:07 +01:00