From fa7a23a6d26feecd8fa195017a9fbbdf9afcb3a8 Mon Sep 17 00:00:00 2001 From: Brett Tasker Date: Wed, 26 Apr 2017 23:24:51 +1200 Subject: [PATCH] SS 4.0 - Upgrade Combinations array and Logging --- code/utils/CombinationsArrayIterator.php | 3 +++ code/utils/logging/MonologFactory.php | 6 +++++- code/utils/logging/QueuedJobLogHandler.php | 6 +++++- code/utils/logging/SearchLogFactory.php | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/code/utils/CombinationsArrayIterator.php b/code/utils/CombinationsArrayIterator.php index 0e873a8..25c0531 100644 --- a/code/utils/CombinationsArrayIterator.php +++ b/code/utils/CombinationsArrayIterator.php @@ -1,6 +1,9 @@ createWithArgs( - 'QueuedJobLogHandler', + 'SilverStripe\FullTextSearch\Utils\Logging\QueuedJobLogHandler', array($job, Logger::INFO) ); } diff --git a/code/utils/logging/QueuedJobLogHandler.php b/code/utils/logging/QueuedJobLogHandler.php index 1d4337c..bc54bf0 100644 --- a/code/utils/logging/QueuedJobLogHandler.php +++ b/code/utils/logging/QueuedJobLogHandler.php @@ -1,12 +1,16 @@