Re: [Asterisk-java-users] Manager: no socket read timeout ?
Brought to you by:
srt
|
From: Gaetan M. <gm...@ea...> - 2007-01-28 15:37:29
|
>> However when the connection times out and reconnects, it is logged to
>> INFO. Shouldn't it be better to log to the WARN cat instead ?
>>
>
> can you point me to the code that logs the message you want to have
> issued as warning?
>
>
It's when you handle the IOException :
ManagerReaderImpl [INFO] Terminating reader thread: Read timed out
ManagerConnectionImpl [INFO] Closing socket.
In current svn trunk it is ManagerReaderImpl.java line 292:
catch (IOException e)
{
this.terminationException = e;
this.dead = true;
logger.info("Terminating reader thread: " + e.getMessage());
}
Gaetan
|