mirror of https://github.com/apache/cloudstack.git
bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
Reviewed-By: Kelven
This commit is contained in:
parent
bb7811c4e0
commit
16ab819502
|
|
@ -137,10 +137,12 @@ public class ClusterServiceServletContainer {
|
|||
if(s_logger.isTraceEnabled())
|
||||
s_logger.trace("Cluster request from " + conn.getRemoteAddress().toString() + " is processed");
|
||||
}
|
||||
} catch (ConnectionClosedException ex) {
|
||||
s_logger.error("Client closed connection", ex);
|
||||
} catch (ConnectionClosedException ex) {
|
||||
// client close and read time out exceptions are expected
|
||||
// when KEEP-AVLIE is enabled
|
||||
s_logger.trace("Client closed connection", ex);
|
||||
} catch (IOException ex) {
|
||||
s_logger.error("I/O error", ex);
|
||||
s_logger.trace("I/O error", ex);
|
||||
} catch (HttpException ex) {
|
||||
s_logger.error("Unrecoverable HTTP protocol violation", ex);
|
||||
} finally {
|
||||
|
|
|
|||
Loading…
Reference in New Issue