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; }