Revert "Internal: change logging from debug to warning in PublishClusterStateAction"

This reverts commit 166fd04239.

Turns out that having log.warn produces a duplicated warn log, as the same message is already logged warn in NettyTranspo
rt#exceptionCaught.
This commit is contained in:
javanna 2015-03-23 18:33:24 +01:00 committed by Luca Cavanna
parent 166fd04239
commit 6dc06063c7
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ public class PublishClusterStateAction extends AbstractComponent {
try {
channel.sendResponse(TransportResponse.Empty.INSTANCE);
} catch (Throwable e) {
logger.warn("failed to send response on cluster state processed", e);
logger.debug("failed to send response on cluster state processed", e);
}
}
@ -207,7 +207,7 @@ public class PublishClusterStateAction extends AbstractComponent {
try {
channel.sendResponse(t);
} catch (Throwable e) {
logger.warn("failed to send response on cluster state processed", e);
logger.debug("failed to send response on cluster state processed", e);
}
}
});