slightly adapted some logging messages

This commit is contained in:
delvh 2020-04-06 22:55:59 +02:00
parent 5d76bbbcb0
commit d61cd8a36e

View File

@ -70,9 +70,9 @@ public class Client implements Closeable {
throws TimeLimitExceededException, IOException, InterruptedException {
if (online) throw new IllegalStateException("Handshake has already been performed successfully");
// Establish TCP connection
logger.info(String.format("Attempting connection to server %s:%d...", config.getServer(), config.getPort()));
logger.finer(String.format("Attempting connection to server %s:%d...", config.getServer(), config.getPort()));
socket = new Socket(config.getServer(), config.getPort());
logger.info("Successfully connected to server.");
logger.fine("Successfully established TCP connection to server");
// Create message receiver
receiver = new Receiver(socket.getInputStream());