From 89b56c543edb81810ed90bc80c54e1a236d65c65 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 2 Feb 2023 14:19:03 +0100 Subject: [PATCH] Fixed HTTP pattern management from metric conf file. --- .../statoolinfos/metrics/http/HttpAccessLogAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java index b397560..20386ab 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java +++ b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java @@ -138,7 +138,7 @@ public class HttpAccessLogAnalyzer // Pattern pattern; - if (patternRegex == null) + if (StringUtils.isBlank(patternRegex)) { pattern = HttpAccessLogParser.COMBINED_PATTERN; }