Removed redundant log writings.
This commit is contained in:
parent
76de8f3758
commit
21dabda848
@ -361,15 +361,6 @@ int eno = 0;
|
||||
eno ,
|
||||
strerror(eno),
|
||||
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;
|
||||
}
|
||||
|
||||
@ -423,15 +414,6 @@ int eno = 0;
|
||||
eno ,
|
||||
strerror(eno),
|
||||
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;
|
||||
}
|
||||
} /**< while (b>0) */
|
||||
@ -494,13 +476,6 @@ int w, saved_errno = 0;
|
||||
pthread_self(),
|
||||
dcb->fd,
|
||||
saved_errno);
|
||||
skygw_log_write(
|
||||
LOGFILE_TRACE,
|
||||
"%lu [dcb_write] Write to fd %d failed, errno %d",
|
||||
pthread_self(),
|
||||
dcb->fd,
|
||||
saved_errno);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@ -577,14 +552,6 @@ int saved_errno = 0;
|
||||
pthread_self(),
|
||||
dcb->fd,
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -517,15 +517,6 @@ int gw_read_client_event(DCB* dcb) {
|
||||
eno,
|
||||
strerror(eno),
|
||||
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);
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user