소스 검색

[Minor] Slightly improve control messages errors logging

tags/1.7.0
Vsevolod Stakhov 6 년 전
부모
커밋
12a7916d35
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4
    2
      src/libserver/rspamd_control.c

+ 4
- 2
src/libserver/rspamd_control.c 파일 보기

@@ -437,8 +437,10 @@ rspamd_control_broadcast_cmd (struct rspamd_main *rspamd_main,
DL_APPEND (res, rep_elt);
}
else {
msg_err ("cannot write request to the worker %P(%s), fd: %d: %s",
wrk->pid, g_quark_to_string (wrk->type),
msg_err ("cannot write command %d(%z) to the worker %P(%s), fd: %d: %s",
(int)cmd->type, iov.iov_len,
wrk->pid,
g_quark_to_string (wrk->type),
wrk->control_pipe[0],
strerror (errno));
}

Loading…
취소
저장