From: erickson Date: Thu, 15 Mar 2007 23:49:14 +0000 (+0000) Subject: lowered some logging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c82137dbf5130a2d0aca5ad1d6ded1ec2ea163ea;p=opensrf%2Fbjwebb.git lowered some logging git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@841 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libtransport/transport_client.c b/src/libtransport/transport_client.c index 4c91581..32e3920 100644 --- a/src/libtransport/transport_client.c +++ b/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/src/utils/socket_bundle.c b/src/utils/socket_bundle.c index a8f2aad..013359c 100644 --- a/src/utils/socket_bundle.c +++ b/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; } }