From 587616bbb2b4a7afd0d542d31a48996569a988bc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 23 Jul 2020 10:05:05 +0200 Subject: Reduce SPAM by using .debug() not .info() --- src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java b/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java index 7e64926..db8ff07 100644 --- a/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java +++ b/src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java @@ -93,7 +93,7 @@ public class ConnectionManager { AvailableClient freeClient = null; synchronized (clientPool) { for (AvailableClient ac : clientPool.values()) { - LOGGER.info("Looking for existing mapping: Checking client " + ac); + LOGGER.debug("Looking for existing mapping: Checking client " + ac); if (ac.isInUseBy(user)) { LOGGER.info("Client " + ac + " is in use by " + user); freeClient = ac; @@ -144,7 +144,7 @@ public class ConnectionManager { } for (AvailableClient ac : clients) { - LOGGER.info("Looking for existing mapping: Checking client " + ac); + LOGGER.debug("Looking for existing mapping: Checking client " + ac); if (ac.isInUseBy(user)) { LOGGER.info("Client " + ac + " is in use by " + user); freeClient = ac; -- cgit v1.2.3-55-g7522