lowered some logging
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 15 Mar 2007 23:49:14 +0000 (23:49 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 15 Mar 2007 23:49:14 +0000 (23:49 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@841 9efc2488-bf62-4759-914b-345cdb29e865

src/libtransport/transport_client.c
src/utils/socket_bundle.c

index 4c91581..32e3920 100644 (file)
@@ -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;
                        }
 
index a8f2aad..013359c 100644 (file)
@@ -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;
                }
        }