Skip to content

Commit

Permalink
feat(logging): set minutely repeated graph activation disabled log me…
Browse files Browse the repository at this point in the history
…ssage to trace level
  • Loading branch information
jhaeu committed Nov 29, 2024
1 parent 611facb commit 4780593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private void logDownloadedExtractedGraphAvailable(ORSGraphManager orsGraphManage
@Scheduled(fixedDelay = 1, timeUnit = TimeUnit.MINUTES)
public void repeatedGraphActivationAttempt() {
if (Boolean.FALSE.equals(enabled)) {
LOGGER.debug("Graph management is disabled, skipping repeated attempt to activate graphs...");
LOGGER.trace("Graph management is disabled, skipping repeated attempt to activate graphs...");
return;
}
if (isActivatingGraphs.get()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void testGrcNotActivated(ContainerInitializer.ContainerTestImageDefaults targetI
container.withStartupTimeout(Duration.ofSeconds(150));
container.start();
Assertions.assertTrue(setupGraphRepo(container, getCurrentDateInFormat(2)), "Failed to prepare the graph repo.");
Assertions.assertTrue(waitForLogPatterns(container, List.of("Graph management is disabled, skipping repeated attempt to activate graphs..."), 12, true));
Assertions.assertTrue(waitForLogPatterns(container, List.of("Graph management is disabled"), 12, true));
container.stop();
}

Expand Down

0 comments on commit 4780593

Please sign in to comment.