diff --git a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogParser.java b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogParser.java index cfa5108..4315676 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogParser.java +++ b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogParser.java @@ -18,8 +18,6 @@ */ package fr.devinsy.statoolinfos.metrics.http; -import java.io.File; -import java.io.IOException; import java.time.LocalDateTime; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; @@ -27,15 +25,9 @@ import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import fr.devinsy.statoolinfos.core.StatoolInfosException; -import fr.devinsy.statoolinfos.metrics.PathCounters; -import fr.devinsy.statoolinfos.util.FilesUtils; -import fr.devinsy.statoolinfos.util.LineIterator; - /** * The Class HttpAccessLogParser. */ @@ -47,7 +39,7 @@ public class HttpAccessLogParser // '"$request" $status $body_bytes_sent ' // '"$http_referer" "$http_user_agent"'; public static final Pattern COMBINED_PATTERN = Pattern.compile( - "^(?[a-zA-F0-9\\\\:\\\\.]+) - (?[^\\[]+) \\[(?