Skip to content

Commit 2e113e5

Browse files
vits-hugsVitor Hugo Homem Marzarotto
andauthored
Change log level of AgentHandler#processRequest() (#10869)
Co-authored-by: Vitor Hugo Homem Marzarotto <[email protected]>
1 parent fe120b6 commit 2e113e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ protected void processRequest(final Link link, final Request request) {
14541454
}
14551455
}
14561456
} catch (final Throwable th) {
1457-
s_logger.warn("Caught: ", th);
1457+
s_logger.error("Caught: ", th);
14581458
answer = new Answer(cmd, false, th.getMessage());
14591459
}
14601460
answers[i] = answer;
@@ -1471,7 +1471,7 @@ protected void processRequest(final Link link, final Request request) {
14711471
try {
14721472
link.send(response.toBytes());
14731473
} catch (final ClosedChannelException e) {
1474-
s_logger.warn("Unable to send response because connection is closed: " + response);
1474+
s_logger.error("Unable to send response because connection is closed: " + response);
14751475
}
14761476
}
14771477

0 commit comments

Comments
 (0)