From cf674e92730b1b37b39e16ed936356aa170455f0 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Thu, 16 Jul 2020 12:55:04 +0200
Subject: [PATCH] input/Init: downgrade PluginUnconfigured to LogLevel::DEBUG

`LogLevel::INFO` is logged by default, but this message shall only
appear with `--verbose`.

This finally solves https://github.com/MusicPlayerDaemon/MPD/issues/430
---
 src/input/Init.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/Init.cxx b/src/input/Init.cxx
index e944ff697..3d1c8f2ed 100644
--- a/src/input/Init.cxx
+++ b/src/input/Init.cxx
@@ -59,7 +59,7 @@ input_stream_global_init(const ConfigData &config, EventLoop &event_loop)
 				plugin->init(event_loop, *block);
 			input_plugins_enabled[i] = true;
 		} catch (const PluginUnconfigured &e) {
-			LogFormat(LogLevel::INFO, e,
+			LogFormat(LogLevel::DEBUG, e,
 				  "Input plugin '%s' is not configured",
 				  plugin->name);
 			continue;