Skip to content

Commit

Permalink
Remove obsolete logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Sep 19, 2023
1 parent 7969b5e commit a67e8a4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ protected void masterOperation(
ActionListener<GetStatusAction.Response> listener
) {
if (request.waitForResourcesCreated()) {
log.info("waitForResourcesCreated == true");
createAndRegisterListener(listener, request.timeout());
} else {
log.info("waitForResourcesCreated == false");
listener.onResponse(resolver.getResponse(state));
}
}
Expand Down Expand Up @@ -111,7 +109,6 @@ private StatusListener(

@Override
public void onNewClusterState(ClusterState state) {
log.info("onNewClusterState");
listener.onResponse(resolver.getResponse(state));
}

Expand All @@ -122,7 +119,6 @@ public void onClusterServiceClose() {

@Override
public void onTimeout(TimeValue timeout) {
log.info("onTimeout");
GetStatusAction.Response response = resolver.getResponse(clusterService.state());
response.setTimedOut(true);
listener.onResponse(response);
Expand Down Expand Up @@ -152,7 +148,6 @@ private GetStatusAction.Response getResponse(ClusterState state) {
boolean indicesPre891 = ProfilingIndexManager.isAnyResourceTooOld(state, indexStateResolver);
boolean dataStreamsPre891 = ProfilingDataStreamManager.isAnyResourceTooOld(state, indexStateResolver);
boolean anyPre891Data = indicesPre891 || dataStreamsPre891;
log.info("resources created=[{}]", resourcesCreated);

return new GetStatusAction.Response(pluginEnabled, resourceManagementEnabled, resourcesCreated, anyPre891Data);
}
Expand Down

0 comments on commit a67e8a4

Please sign in to comment.