Improved visit probing with status code 200 restriction.
This commit is contained in:
parent
65c359cfb8
commit
8ab33c0277
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public class VisitCounters extends HashMap<String, Visits>
|
||||||
*/
|
*/
|
||||||
public void putVisit(final HttpAccessLog log)
|
public void putVisit(final HttpAccessLog log)
|
||||||
{
|
{
|
||||||
if (log != null)
|
if ((log != null) && (log.getStatus().getCategory() == HttpStatusCategory.SUCCESS))
|
||||||
{
|
{
|
||||||
String key = computeKey(log);
|
String key = computeKey(log);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue