From 3899b9a3b042f01dab7f9d65266883c796d9b996 Mon Sep 17 00:00:00 2001
From: diosmosis <benaka@piwik.pro>
Date: Thu, 16 Apr 2015 18:16:55 -0700
Subject: [PATCH] Refs #7602, add comment in PurgeOldArchiveData.php regarding
 use of NullLogger.

---
 plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php | 2 ++
 tests/UI/expected-ui-screenshots                       | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php b/plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php
index 1df24699a0..de1d58745b 100644
--- a/plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php
+++ b/plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php
@@ -69,6 +69,8 @@ class PurgeOldArchiveData extends ConsoleCommand
 
     protected function execute(InputInterface $input, OutputInterface $output)
     {
+        // during normal command execution, we don't want the INFO level logs logged by the ArchivePurger service
+        // to display in the console, so we use a NullLogger for the service
         $logger = null;
         if ($output->getVerbosity() <= OutputInterface::VERBOSITY_NORMAL) {
             $logger = new NullLogger();
diff --git a/tests/UI/expected-ui-screenshots b/tests/UI/expected-ui-screenshots
index e1c7b5f9ad..2d61d2c4ef 160000
--- a/tests/UI/expected-ui-screenshots
+++ b/tests/UI/expected-ui-screenshots
@@ -1 +1 @@
-Subproject commit e1c7b5f9ade43f751883541898b82dc09ca830ec
+Subproject commit 2d61d2c4ef50d17c169a63bd3ad4b123da8f5cb0
-- 
GitLab