From b46581aa974faa137210fd74a1ca8a9669bd9fdf Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 5 Jan 2006 23:39:01 +0000 Subject: [PATCH] moved some warns that will happen often to info logs git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@619 9efc2488-bf62-4759-914b-345cdb29e865 --- src/jserver/osrf_chat.c | 2 +- src/libtransport/transport_session.c | 2 +- src/router/osrf_router.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jserver/osrf_chat.c b/src/jserver/osrf_chat.c index ea72e7a..a6a75ec 100644 --- a/src/jserver/osrf_chat.c +++ b/src/jserver/osrf_chat.c @@ -283,7 +283,7 @@ int osrfChatSend( osrfChatServer* cs, osrfChatNode* node, char* toAddr, char* fr } else { /* send an error message saying we don't have this connection */ - osrfLogWarning("We have no connection for %s", toAddr); + osrfLogInfo("We have no connection for %s", toAddr); char* xml = va_list_to_string( OSRF_CHAT_NO_RECIPIENT, toAddr, fromAddr ); osrfChatSendRaw( node, xml ); free(xml); diff --git a/src/libtransport/transport_session.c b/src/libtransport/transport_session.c index c399ba1..09f2381 100644 --- a/src/libtransport/transport_session.c +++ b/src/libtransport/transport_session.c @@ -398,7 +398,7 @@ void startElementHandler( ses->state_machine->in_message_error = 1; buffer_add( ses->message_error_type, get_xml_attr( atts, "type" ) ); ses->message_error_code = atoi( get_xml_attr( atts, "code" ) ); - osrfLogWarning( "Received message with type %s and code %s", + osrfLogInfo( "Received message with type %s and code %s", get_xml_attr( atts, "type"), get_xml_attr( atts, "code") ); return; } diff --git a/src/router/osrf_router.c b/src/router/osrf_router.c index 1cdde27..047bad8 100644 --- a/src/router/osrf_router.c +++ b/src/router/osrf_router.c @@ -251,7 +251,7 @@ transport_message* osrfRouterClassHandleBounce( osrfLogDebug("osrfRouterClassHandleBounce()"); - osrfLogWarning("Received network layer error message from %s", msg->sender ); + osrfLogInfo("Received network layer error message from %s", msg->sender ); osrfRouterNode* node = osrfRouterClassFindNode( rclass, msg->sender ); transport_message* lastSent = NULL; -- 2.11.0