diff --git a/src/fr/devinsy/statoolinfos/metrics/http/VisitCounters.java b/src/fr/devinsy/statoolinfos/metrics/http/VisitCounters.java index f4ed6ff..abbee96 100644 --- a/src/fr/devinsy/statoolinfos/metrics/http/VisitCounters.java +++ b/src/fr/devinsy/statoolinfos/metrics/http/VisitCounters.java @@ -136,7 +136,7 @@ public class VisitCounters extends HashMap */ public void putVisit(final HttpAccessLog log) { - if (log != null) + if ((log != null) && (log.getStatus().getCategory() == HttpStatusCategory.SUCCESS)) { String key = computeKey(log);