From: Liu Yuan <tailai.ly at taobao.com> We need this to identify if this happens Signed-off-by: Liu Yuan <tailai.ly at taobao.com> --- lib/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logger.c b/lib/logger.c index 5b6d903..775d417 100644 --- a/lib/logger.c +++ b/lib/logger.c @@ -232,7 +232,7 @@ static notrace int log_enqueue(int prio, const char *func, int line, const char /* not enough space on head : drop msg */ if (la->head > la->tail && (len + sizeof(struct logmsg)) > ((char *)la->head - (char *)la->tail)) { - logdbg(stderr, "enqueue: log area overrun, dropping message\n"); + syslog(LOG_ERR, "enqueue: log area overrun, dropping message\n"); if (!la->empty) la->tail = lastmsg; -- 1.7.10.2 |