Skip to content

Commit

Permalink
Change connection log
Browse files Browse the repository at this point in the history
Change connection log to either/or avoiding both on device being connected.

Signed-off-by: Bob Eckhoff <[email protected]>
  • Loading branch information
apella12 committed Feb 24, 2025
1 parent 47e0626 commit 2bb3b9c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ public synchronized void connect()
if (!deviceIsConnected) {
// Info logger on first connection after being disconnected
logger.info("Connected to IP {}", ipAddress);
} else {
logger.debug("Connected to IP {}", ipAddress);
}
logger.debug("Connected to IP {}", ipAddress);
deviceIsConnected = true;
}

Expand Down

0 comments on commit 2bb3b9c

Please sign in to comment.