commit 9c5b86cf99e059698c90ae270d738667e8e952be Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu Feb 13 15:39:02 2014 +0100
Only parse assignments.log, not manually rotated logs. --- .../ernie/db/bridgepools/BridgePoolAssignmentsProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/org/torproject/ernie/db/bridgepools/BridgePoolAssignmentsProcessor.java b/src/org/torproject/ernie/db/bridgepools/BridgePoolAssignmentsProcessor.java index 4735d35..942f89f 100644 --- a/src/org/torproject/ernie/db/bridgepools/BridgePoolAssignmentsProcessor.java +++ b/src/org/torproject/ernie/db/bridgepools/BridgePoolAssignmentsProcessor.java @@ -92,7 +92,7 @@ public class BridgePoolAssignmentsProcessor extends Thread { File file = files.pop(); if (file.isDirectory()) { files.addAll(Arrays.asList(file.listFiles())); - } else if (!file.getName().endsWith(".gz")) { + } else if (file.getName().equals("assignments.log")) { assignmentFiles.add(file); } }