Skip to content

Commit

Permalink
Reduce some verbose log levels (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
offa authored Apr 26, 2024
1 parent 7137a36 commit 0d6a204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void printBlockCause(PrintStream logger, List<LockableResourcesStruct> r
if (resource != null) {
final String logMessage = resource.getLockCauseDetail();
if (logMessage != null && !logMessage.isEmpty())
LockableResourcesManager.printLogs(logMessage, Level.INFO, LOGGER, logger);
LockableResourcesManager.printLogs(logMessage, Level.FINE, LOGGER, logger);
} else {
// looks like ordered by label
lrm.getAvailableResources(resourceHolderList, logger, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private void freeResources(List<LockableResource> unlockResources, @Nullable Run
uncacheIfFreeing(resource, true, false);

if (resource.isEphemeral()) {
LOGGER.info("Remove ephemeral resource: " + resource);
LOGGER.fine("Remove ephemeral resource: " + resource);
toBeRemoved.add(resource);
}
}
Expand Down Expand Up @@ -1354,7 +1354,7 @@ public void queueContext(
printLogs(
requiredResources + " added into queue at position " + queueIndex,
newQueueItem.getLogger(),
Level.INFO);
Level.FINE);

save();
}
Expand Down

0 comments on commit 0d6a204

Please sign in to comment.