diff --git a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java index 8ec0008..a4497fb 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java +++ b/src/fr/devinsy/statoolinfos/metrics/http/HttpAccessLogAnalyzer.java @@ -175,7 +175,7 @@ public class HttpAccessLogAnalyzer this.counters.inc("metrics.http.pages", year, yearMonth, yearWeek, date); } - // metrics.http.status.XXX + // metrics.http.status.XXXX String status = String.valueOf(log.getStatus().getCode()); this.counters.inc("metrics.http.status." + status, year, yearMonth, yearWeek, date); @@ -262,7 +262,7 @@ public class HttpAccessLogAnalyzer // log_format combined '$remote_addr - $remote_user [$time_local] ' // '"$request" $status $body_bytes_sent ' // '"$http_referer" "$http_user_agent"'; - String combinedPattern = "^(?[a-zA-F0-9\\\\:\\\\.]+) - (?\\S+) \\[(?