From 4d4f2d4ffbb9ee5cda87956bf6f69428727baeba Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 4 Jan 2002 01:36:40 +0000 Subject: [PATCH] - Loglevel ein wenig angepasst. --- src/ngircd/conn.c | 9 ++++++--- src/ngircd/irc.c | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index c939d1b5..8e2455de 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -9,11 +9,14 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: conn.c,v 1.28 2002/01/04 01:20:23 alex Exp $ + * $Id: conn.c,v 1.29 2002/01/04 01:36:40 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") * * $Log: conn.c,v $ + * Revision 1.29 2002/01/04 01:36:40 alex + * - Loglevel ein wenig angepasst. + * * Revision 1.28 2002/01/04 01:20:23 alex * - Client-Strukruren werden nur noch ueber Funktionen angesprochen. * @@ -494,7 +497,7 @@ GLOBAL VOID Conn_Close( CONN_ID Idx, CHAR *Msg ) } else { - Log( LOG_NOTICE, "Connection %d with %s:%d closed.", Idx, inet_ntoa( My_Connections[Idx].addr.sin_addr ), ntohs( My_Connections[Idx].addr.sin_port )); + Log( LOG_INFO, "Connection %d with %s:%d closed.", Idx, inet_ntoa( My_Connections[Idx].addr.sin_addr ), ntohs( My_Connections[Idx].addr.sin_port )); } c = Client_GetFromConn( Idx ); @@ -672,7 +675,7 @@ LOCAL VOID New_Connection( INT Sock ) FD_SET( new_sock, &My_Sockets ); if( new_sock > My_Max_Fd ) My_Max_Fd = new_sock; - Log( LOG_NOTICE, "Accepted connection %d from %s:%d on socket %d.", idx, inet_ntoa( new_addr.sin_addr ), ntohs( new_addr.sin_port), Sock ); + Log( LOG_INFO, "Accepted connection %d from %s:%d on socket %d.", idx, inet_ntoa( new_addr.sin_addr ), ntohs( new_addr.sin_port), Sock ); /* Hostnamen ermitteln */ s = ResolveAddr( &new_addr ); diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index 41dd8544..4d63d040 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.c @@ -9,11 +9,14 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: irc.c,v 1.22 2002/01/04 01:21:47 alex Exp $ + * $Id: irc.c,v 1.23 2002/01/04 01:36:40 alex Exp $ * * irc.c: IRC-Befehle * * $Log: irc.c,v $ + * Revision 1.23 2002/01/04 01:36:40 alex + * - Loglevel ein wenig angepasst. + * * Revision 1.22 2002/01/04 01:21:47 alex * - Client-Strukruren werden nur noch ueber Funktionen angesprochen. * - Weitere Anpassungen und Erweiterungen der Server-Links. @@ -247,7 +250,7 @@ GLOBAL BOOLEAN IRC_SERVER( CLIENT *Client, REQUEST *Req ) Client_SetInfo( Client, Req->argv[2] ); Client_SetHops( Client, 1 ); - Log( LOG_NOTICE, "Server \"%s\" registered (connection %d, 1 hop).", Client_ID( Client ), Client_Conn( Client )); + Log( LOG_NOTICE, "Server \"%s\" registered (connection %d, 1 hop - direct link).", Client_ID( Client ), Client_Conn( Client )); Client_SetType( Client, CLIENT_SERVER ); return CONNECTED; -- 2.39.2