From c5a407c0c05f3f713721133841fcf318d60bcb06 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 15 Mar 2007 23:49:14 +0000 Subject: [PATCH] lowered some logging git-svn-id: svn://svn.open-ils.org/ILS/trunk@7074 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- OpenSRF/src/libtransport/transport_client.c | 4 ++-- OpenSRF/src/utils/socket_bundle.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSRF/src/libtransport/transport_client.c b/OpenSRF/src/libtransport/transport_client.c index 4c915811bd..32e3920650 100644 --- a/OpenSRF/src/libtransport/transport_client.c +++ b/OpenSRF/src/libtransport/transport_client.c @@ -116,7 +116,7 @@ transport_message* client_recv( transport_client* client, int timeout ) { // if( ! session_wait( client->session, -1 ) ) { int x; if( (x = session_wait( client->session, -1 )) ) { - osrfLogWarning(OSRF_LOG_MARK, "session_wait returned failure code %d\n", x); + osrfLogDebug(OSRF_LOG_MARK, "session_wait returned failure code %d\n", x); client->error = 1; return NULL; } @@ -136,7 +136,7 @@ transport_message* client_recv( transport_client* client, int timeout ) { if( (wait_ret= session_wait( client->session, remaining)) ) { client->error = 1; - osrfLogWarning(OSRF_LOG_MARK, "session_wait returned failure code %d: setting error=1\n", wait_ret); + osrfLogDebug(OSRF_LOG_MARK, "session_wait returned failure code %d: setting error=1\n", wait_ret); return NULL; } diff --git a/OpenSRF/src/utils/socket_bundle.c b/OpenSRF/src/utils/socket_bundle.c index a8f2aad3b4..013359ce50 100644 --- a/OpenSRF/src/utils/socket_bundle.c +++ b/OpenSRF/src/utils/socket_bundle.c @@ -455,14 +455,14 @@ int socket_wait(socket_manager* mgr, int timeout, int sock_fd) { // If timeout is -1, we block indefinitely if( (retval = select( sock_fd + 1, &read_set, NULL, NULL, NULL)) == -1 ) { - osrfLogWarning( OSRF_LOG_MARK, "Call to select() interrupted: Sys Error: %s", strerror(errno)); + osrfLogDebug( OSRF_LOG_MARK, "Call to select() interrupted: Sys Error: %s", strerror(errno)); return -1; } } else if( timeout > 0 ) { /* timeout of 0 means don't block */ if( (retval = select( sock_fd + 1, &read_set, NULL, NULL, &tv)) == -1 ) { - osrfLogWarning( OSRF_LOG_MARK, "Call to select() interrupted: Sys Error: %s", strerror(errno)); + osrfLogDebug( OSRF_LOG_MARK, "Call to select() interrupted: Sys Error: %s", strerror(errno)); return -1; } } -- 2.11.0