change log level from ERROR to DEBUG when IOEVENT_ERROR
parent
5128a788fb
commit
deebe9cc92
3
HISTORY
3
HISTORY
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue