]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn.c
Change log level of "SSL connection shutting down"
[ngircd-alex.git] / src / ngircd / conn.c
index 01253a2a19dba746ead7a8edc8b1bca34985c263..53497e3bfe33fd217784da97e6be071c869dcb09 100644 (file)
@@ -222,7 +222,7 @@ cb_connserver(int sock, UNUSED short what)
        if (server < 0) {
                Log(LOG_ERR, "Connection on socket %d to \"%s\" aborted!",
                    sock, My_Connections[idx].host);
-               Conn_Close(idx, "Connection aborted!", NULL, false);
+               Conn_Close(idx, "Connection aborted", NULL, false);
                return;
        }
 
@@ -1228,7 +1228,7 @@ Conn_Close( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClie
        c = Conn_GetClient( Idx );
 #ifdef SSL_SUPPORT
        if ( Conn_OPTION_ISSET( &My_Connections[Idx], CONN_SSL )) {
-               Log(LOG_INFO, "SSL connection %d shutting down ...", Idx);
+               LogDebug("SSL connection %d shutting down ...", Idx);
                ConnSSL_Free(&My_Connections[Idx]);
        }
 #endif
@@ -1452,7 +1452,7 @@ Handle_Write( CONN_ID Idx )
 
                Log(LOG_ERR, "Write error on connection %d (socket %d): %s!",
                    Idx, My_Connections[Idx].sock, strerror(errno));
-               Conn_Close(Idx, "Write error!", NULL, false);
+               Conn_Close(Idx, "Write error", NULL, false);
                return false;
        }