RED-4928: Move timing info to INFO level since DEBUG is too busy
This commit is contained in:
parent
7c0caf9ecb
commit
02392e22e6
@ -46,7 +46,7 @@ public class LicenseReportService {
|
|||||||
log.info("Generating licence-report");
|
log.info("Generating licence-report");
|
||||||
|
|
||||||
Instant start = null;
|
Instant start = null;
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isInfoEnabled()) {
|
||||||
start = Instant.now();
|
start = Instant.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ public class LicenseReportService {
|
|||||||
licenseReport.setRequestId(licenseReportRequest.getRequestId());
|
licenseReport.setRequestId(licenseReportRequest.getRequestId());
|
||||||
|
|
||||||
if (start != null) {
|
if (start != null) {
|
||||||
log.debug("getLicenceReport took {} to process", Duration.between(start, Instant.now()).toString());
|
log.info("getLicenceReport took {} to process", Duration.between(start, Instant.now()).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
return licenseReport;
|
return licenseReport;
|
||||||
@ -84,7 +84,7 @@ public class LicenseReportService {
|
|||||||
|
|
||||||
log.debug("No licence-report found in cache, generating new report");
|
log.debug("No licence-report found in cache, generating new report");
|
||||||
Instant start = null;
|
Instant start = null;
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isInfoEnabled()) {
|
||||||
start = Instant.now();
|
start = Instant.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ public class LicenseReportService {
|
|||||||
.collect(toList());
|
.collect(toList());
|
||||||
|
|
||||||
if (start != null) {
|
if (start != null) {
|
||||||
log.debug("loadReport took {} to process", Duration.between(start, Instant.now()).toString());
|
log.info("loadReport took {} to process", Duration.between(start, Instant.now()).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CachedReportData(data,
|
return new CachedReportData(data,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user