From 78bc2b4ec7eda703fa932e1441f9b4f646db092b Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 20 May 2014 22:39:32 +0000 Subject: [PATCH] Modules\Manager: no warning for duplicate modules Formerly we logged a warning if a module was found in multiple module paths. This is pointless, because as soon as you got a default module installed by your distribution and "upgraded" it via your web frontend this "error" will be the default. Logging at debug level right now. --- library/Icinga/Application/Modules/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Modules/Manager.php b/library/Icinga/Application/Modules/Manager.php index 050c6c275..6fefd3930 100644 --- a/library/Icinga/Application/Modules/Manager.php +++ b/library/Icinga/Application/Modules/Manager.php @@ -532,7 +532,7 @@ class Manager if (! array_key_exists($file, $this->installedBaseDirs)) { $this->installedBaseDirs[$file] = $canonical . '/' . $file; } else { - Logger::warning( + Logger::debug( 'Module "%s" already exists in installation path "%s" and is ignored.', $canonical . '/' . $file, $this->installedBaseDirs[$file]