slightly adapted some logging messages
This commit is contained in:
parent
5d76bbbcb0
commit
d61cd8a36e
@ -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());
|
||||
|
Reference in New Issue
Block a user