mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-18 14:11:32 +01:00
Reduce log level of disabled webserver via config
Affects issues: - Close #2229
This commit is contained in:
parent
e977e37b6f
commit
4974aff6be
@ -100,7 +100,7 @@ public class WebServer implements SubSystem {
|
|||||||
|
|
||||||
if (!isEnabled()) {
|
if (!isEnabled()) {
|
||||||
if (config.isTrue(WebserverSettings.DISABLED)) {
|
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 {
|
} else {
|
||||||
logger.error(locale.getString(PluginLang.WEB_SERVER_FAIL_PORT_BIND, port));
|
logger.error(locale.getString(PluginLang.WEB_SERVER_FAIL_PORT_BIND, port));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user