Reduce log level of disabled webserver via config

Affects issues:
- Close #2229
This commit is contained in:
Risto Lahtela 2022-01-09 12:06:03 +02:00
parent e977e37b6f
commit 4974aff6be

View File

@ -100,7 +100,7 @@ public class WebServer implements SubSystem {
if (!isEnabled()) {
if (config.isTrue(WebserverSettings.DISABLED)) {
logger.warn(locale.getString(PluginLang.ENABLE_NOTIFY_WEB_SERVER_DISABLED));
logger.info(locale.getString(PluginLang.ENABLE_NOTIFY_WEB_SERVER_DISABLED));
} else {
logger.error(locale.getString(PluginLang.WEB_SERVER_FAIL_PORT_BIND, port));
}