// 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;
}
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;
}
// 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;
}
}