change log level from ERROR to DEBUG when IOEVENT_ERROR

pull/48/head
yuqing 2014-07-04 09:34:04 +08:00
parent 5128a788fb
commit deebe9cc92
3 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,9 @@
Version 5.02 2014-06-23 Version 5.02 2014-07-04
* corect README spell mistake * corect README spell mistake
* bug fixed: can't deal sync truncate file exception * bug fixed: can't deal sync truncate file exception
* remove tracker_global.c extern keyword to tracker_global.h * remove tracker_global.c extern keyword to tracker_global.h
* change log level from ERROR to DEBUG when IOEVENT_ERROR
Version 5.01 2014-02-02 Version 5.01 2014-02-02
* trunk binlog be compressed when trunk init * trunk binlog be compressed when trunk init

View File

@ -287,7 +287,7 @@ static void client_sock_read(int sock, short event, void *arg)
if (event & IOEVENT_ERROR) if (event & IOEVENT_ERROR)
{ {
logError("file: "__FILE__", line: %d, " \ logDebug("file: "__FILE__", line: %d, " \
"client ip: %s, recv error event: %d, " "client ip: %s, recv error event: %d, "
"close connection", __LINE__, pTask->client_ip, event); "close connection", __LINE__, pTask->client_ip, event);
@ -434,7 +434,7 @@ static void client_sock_write(int sock, short event, void *arg)
if (event & IOEVENT_ERROR) if (event & IOEVENT_ERROR)
{ {
logError("file: "__FILE__", line: %d, " \ logDebug("file: "__FILE__", line: %d, " \
"client ip: %s, recv error event: %d, " "client ip: %s, recv error event: %d, "
"close connection", __LINE__, pTask->client_ip, event); "close connection", __LINE__, pTask->client_ip, event);

View File

@ -220,7 +220,7 @@ static void client_sock_read(int sock, short event, void *arg)
if (event & IOEVENT_ERROR) if (event & IOEVENT_ERROR)
{ {
logError("file: "__FILE__", line: %d, " \ logDebug("file: "__FILE__", line: %d, " \
"client ip: %s, recv error event: %d, " "client ip: %s, recv error event: %d, "
"close connection", __LINE__, pTask->client_ip, event); "close connection", __LINE__, pTask->client_ip, event);
@ -338,7 +338,7 @@ static void client_sock_write(int sock, short event, void *arg)
if (event & IOEVENT_ERROR) if (event & IOEVENT_ERROR)
{ {
logError("file: "__FILE__", line: %d, " \ logDebug("file: "__FILE__", line: %d, " \
"client ip: %s, recv error event: %d, " "client ip: %s, recv error event: %d, "
"close connection", __LINE__, pTask->client_ip, event); "close connection", __LINE__, pTask->client_ip, event);