Removed redundant log writings.
This commit is contained in:
@ -361,15 +361,6 @@ int eno = 0;
|
|||||||
eno ,
|
eno ,
|
||||||
strerror(eno),
|
strerror(eno),
|
||||||
dcb->state);
|
dcb->state);
|
||||||
skygw_log_write(
|
|
||||||
LOGFILE_TRACE,
|
|
||||||
"%lu [dcb_read] Setting FIONREAD for fd %d failed. "
|
|
||||||
"errno %d, %s. dcb->state = %d",
|
|
||||||
pthread_self(),
|
|
||||||
dcb->fd,
|
|
||||||
eno ,
|
|
||||||
strerror(eno),
|
|
||||||
dcb->state);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -423,15 +414,6 @@ int eno = 0;
|
|||||||
eno ,
|
eno ,
|
||||||
strerror(eno),
|
strerror(eno),
|
||||||
dcb->state);
|
dcb->state);
|
||||||
skygw_log_write(
|
|
||||||
LOGFILE_TRACE,
|
|
||||||
"%lu [dcb_read] Setting FIONREAD for fd %d failed. "
|
|
||||||
"errno %d, %s. dcb->state = %d",
|
|
||||||
pthread_self(),
|
|
||||||
dcb->fd,
|
|
||||||
eno ,
|
|
||||||
strerror(eno),
|
|
||||||
dcb->state);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} /**< while (b>0) */
|
} /**< while (b>0) */
|
||||||
@ -494,13 +476,6 @@ int w, saved_errno = 0;
|
|||||||
pthread_self(),
|
pthread_self(),
|
||||||
dcb->fd,
|
dcb->fd,
|
||||||
saved_errno);
|
saved_errno);
|
||||||
skygw_log_write(
|
|
||||||
LOGFILE_TRACE,
|
|
||||||
"%lu [dcb_write] Write to fd %d failed, errno %d",
|
|
||||||
pthread_self(),
|
|
||||||
dcb->fd,
|
|
||||||
saved_errno);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -577,14 +552,6 @@ int saved_errno = 0;
|
|||||||
pthread_self(),
|
pthread_self(),
|
||||||
dcb->fd,
|
dcb->fd,
|
||||||
saved_errno);
|
saved_errno);
|
||||||
skygw_log_write(
|
|
||||||
LOGFILE_TRACE,
|
|
||||||
"%lu [dcb_drain_writeq] Write to df %d failed, "
|
|
||||||
"errno %d",
|
|
||||||
pthread_self(),
|
|
||||||
dcb->fd,
|
|
||||||
saved_errno);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -517,15 +517,6 @@ int gw_read_client_event(DCB* dcb) {
|
|||||||
eno,
|
eno,
|
||||||
strerror(eno),
|
strerror(eno),
|
||||||
dcb->state);
|
dcb->state);
|
||||||
skygw_log_write(
|
|
||||||
LOGFILE_TRACE,
|
|
||||||
"%lu [gw_read_client_event] Setting FIONREAD for fd %d "
|
|
||||||
"failed. errno %d, %s. dcb->state = %d",
|
|
||||||
pthread_self(),
|
|
||||||
dcb->fd,
|
|
||||||
eno ,
|
|
||||||
strerror(eno),
|
|
||||||
dcb->state);
|
|
||||||
|
|
||||||
spinlock_release(&dcb->writeqlock);
|
spinlock_release(&dcb->writeqlock);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user