summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-23 10:05:05 +0200
committerSimon Rettberg2020-07-23 10:05:05 +0200
commit587616bbb2b4a7afd0d542d31a48996569a988bc (patch)
treeb0d07980cb859ea27d2c3e279a7075ceddefd38d
parentUpdate client list every 2 mins for better timeout handling (diff)
downloadbwlp-guacamole-ext-587616bbb2b4a7afd0d542d31a48996569a988bc.tar.gz
bwlp-guacamole-ext-587616bbb2b4a7afd0d542d31a48996569a988bc.tar.xz
bwlp-guacamole-ext-587616bbb2b4a7afd0d542d31a48996569a988bc.zip
Reduce SPAM by using .debug() not .info()
-rw-r--r--src/main/java/de/bwlehrpool/bwlp_guac/ConnectionManager.java4
1 files 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;