mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Change log level of AgentHandler#processRequest() (#10869)
Co-authored-by: Vitor Hugo Homem Marzarotto <vitor.marzarotto@scclouds.com.br>
This commit is contained in:
parent
fe120b64e7
commit
2e113e5ed7
@ -1454,7 +1454,7 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (final Throwable th) {
|
} catch (final Throwable th) {
|
||||||
s_logger.warn("Caught: ", th);
|
s_logger.error("Caught: ", th);
|
||||||
answer = new Answer(cmd, false, th.getMessage());
|
answer = new Answer(cmd, false, th.getMessage());
|
||||||
}
|
}
|
||||||
answers[i] = answer;
|
answers[i] = answer;
|
||||||
@ -1471,7 +1471,7 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
|
|||||||
try {
|
try {
|
||||||
link.send(response.toBytes());
|
link.send(response.toBytes());
|
||||||
} catch (final ClosedChannelException e) {
|
} catch (final ClosedChannelException e) {
|
||||||
s_logger.warn("Unable to send response because connection is closed: " + response);
|
s_logger.error("Unable to send response because connection is closed: " + response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user