don't log socket closing as an error

This commit is contained in:
ehouse 2009-09-04 11:02:09 +00:00
parent 8acbe2c08f
commit 7ca629a2f5
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ void
TimerMgr::SetTimer( time_t inMillis, TimerProc proc, void* closure,
int interval )
{
logf( XW_LOGINFO, "setTimer: uptime = %ld", uptime() );
logf( XW_LOGINFO, "%s: uptime = %ld", __func__, uptime() );
TimerInfo ti;
ti.proc = proc;
ti.closure = closure;

View file

@ -380,7 +380,7 @@ processDisconnect( unsigned char* bufp, int bufLen, int socket )
void
killSocket( int socket, const char* why )
{
logf( XW_LOGERROR, "killSocket(%d): %s", socket, why );
logf( XW_LOGINFO, "killSocket(%d): %s", socket, why );
CRefMgr::Get()->RemoveSocketRefs( socket );
/* Might want to kill the thread it belongs to if we're not in it,
e.g. when unable to write to another socket. */