Fixed HTTP pattern management from metric conf file.

This commit is contained in:
Christian P. MOMON 2023-02-02 14:19:03 +01:00
parent 9970a85bff
commit 89b56c543e

View file

@ -138,7 +138,7 @@ public class HttpAccessLogAnalyzer
// //
Pattern pattern; Pattern pattern;
if (patternRegex == null) if (StringUtils.isBlank(patternRegex))
{ {
pattern = HttpAccessLogParser.COMBINED_PATTERN; pattern = HttpAccessLogParser.COMBINED_PATTERN;
} }