diff --git a/debian/changelog b/debian/changelog index c29ecde..df929fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,7 @@ flexnbd (0.2.0) UNRELEASED; urgency=medium * Proxy passes all NBD protocol errors through to the client instead of disconnecting and retrying (#36, !40) * Ignore ends of discs that stray outside of 512-byte sector sizes (!42). + * Tweak logging for readloop failures (!44) -- James Carter Thu, 11 Jan 2018 10:05:35 +0000 diff --git a/src/server/client.c b/src/server/client.c index 8ca4d2a..fe8a0a5 100644 --- a/src/server/client.c +++ b/src/server/client.c @@ -228,14 +228,14 @@ int client_read_request( struct client * client , struct nbd_request *out_reques *disconnected = 1; switch( errno ){ case 0: - debug( "EOF while reading request" ); + warn( "EOF while reading request" ); return 0; case ECONNRESET: - debug( "Connection reset while" + warn( "Connection reset while" " reading request" ); return 0; case ETIMEDOUT: - debug( "Connection timed out while" + warn( "Connection timed out while" " reading request" ); return 0; default: