From: erickson Date: Mon, 9 Apr 2007 19:51:16 +0000 (+0000) Subject: changed some logging levels X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ed757789dd35bbf809e02cec465765b80ba5358a;p=Evergreen.git changed some logging levels git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@7137 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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; } }