[tor-commits] [collector/master] Avoid repeated validation of clean and validated log lines.

karsten at torproject.org karsten at torproject.org
Mon Feb 5 17:10:54 UTC 2018


commit 06d1a81d4cfe8ce89caa6cf49124f6700b33f522
Author: iwakeh <iwakeh at torproject.org>
Date:   Wed Jan 31 13:31:28 2018 +0000

    Avoid repeated validation of clean and validated log lines.
---
 src/main/java/org/torproject/collector/webstats/SanitizeWeblogs.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/collector/webstats/SanitizeWeblogs.java b/src/main/java/org/torproject/collector/webstats/SanitizeWeblogs.java
index 635457c..53ad118 100644
--- a/src/main/java/org/torproject/collector/webstats/SanitizeWeblogs.java
+++ b/src/main/java/org/torproject/collector/webstats/SanitizeWeblogs.java
@@ -136,7 +136,7 @@ public class SanitizeWeblogs extends CollecTorMain {
     try {
       WebServerAccessLogPersistence walp
           = new WebServerAccessLogPersistence(
-          new WebServerAccessLogImpl(retainedLines, name));
+          new WebServerAccessLogImpl(retainedLines, name, false));
       log.debug("Storing {}.", name);
       walp.storeOut(this.outputPathName);
       walp.storeRecent(this.recentPathName);



More information about the tor-commits mailing list