diff --git a/build.gradle b/build.gradle index 444bf70..33c38cf 100644 --- a/build.gradle +++ b/build.gradle @@ -91,7 +91,7 @@ dependencies { implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1' // https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus - runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.3' + runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.4' testImplementation 'org.springframework.security:spring-security-test' testImplementation "org.springframework.boot:spring-boot-starter-test" diff --git a/src/main/java/eu/openaire/pdf_aggregation_statistics/services/StatsServiceImpl.java b/src/main/java/eu/openaire/pdf_aggregation_statistics/services/StatsServiceImpl.java index 454934f..28ec12b 100644 --- a/src/main/java/eu/openaire/pdf_aggregation_statistics/services/StatsServiceImpl.java +++ b/src/main/java/eu/openaire/pdf_aggregation_statistics/services/StatsServiceImpl.java @@ -32,7 +32,7 @@ public class StatsServiceImpl implements StatsService { public boolean gatherNumberOfPayloadsPerDatasource(int retryCount) { if ( retryCount > 10 ) { - logger.error("Could not find the requested payload-type table in an non-merging state, after " + retryCount + " retries!"); + logger.error("Could not find the requested payload-type table in an non-merging state, after " + (retryCount -1) + " retries!"); return false; } diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 5831c76..e0b7406 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -6,11 +6,11 @@ logs/PDF_Aggregation_Statistics.%i.log.zip 1 - 20 + 10 - 50MB + 100MB