mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-18 18:51:26 +00:00
adjusted logging
This commit is contained in:
@@ -24,7 +24,7 @@ class Client implements IpcCommunicator {
|
||||
public static Client create(Path socketPath) throws IOException {
|
||||
var address = UnixDomainSocketAddress.of(socketPath);
|
||||
var socketChannel = SocketChannel.open(address);
|
||||
LOG.info("Connected to IPC server on UNIX socket {}", socketPath);
|
||||
LOG.info("Connected to IPC server on socket {}", socketPath);
|
||||
return new Client(socketChannel);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public interface IpcCommunicator extends Closeable {
|
||||
try {
|
||||
return Server.create(socketPaths.iterator().next());
|
||||
} catch (IOException e) {
|
||||
LOG.error("Failed to create IPC server using UNIX sockets", e);
|
||||
LOG.warn("Failed to create IPC server", e);
|
||||
return new LoopbackCommunicator();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ class Server implements IpcCommunicator {
|
||||
var address = UnixDomainSocketAddress.of(socketPath);
|
||||
var serverSocketChannel = ServerSocketChannel.open(StandardProtocolFamily.UNIX);
|
||||
serverSocketChannel.bind(address);
|
||||
LOG.info("Spawning IPC server listening on UNIX socket {}", socketPath);
|
||||
LOG.info("Spawning IPC server listening on socket {}", socketPath);
|
||||
return new Server(serverSocketChannel, socketPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user