[tor-commits] [metrics-db/master] Warn if we cannot recognize a bridge descriptor line.

karsten at torproject.org karsten at torproject.org
Mon Sep 23 09:36:19 UTC 2013


commit 58d76ef7f21fe67a9d60cabbf641054b7d481495
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Sep 23 11:35:17 2013 +0200

    Warn if we cannot recognize a bridge descriptor line.
---
 .../torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java  |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java b/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java
index d7cfb98..5861ade 100644
--- a/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java
+++ b/src/org/torproject/ernie/db/bridgedescs/SanitizedBridgesWriter.java
@@ -776,7 +776,8 @@ public class SanitizedBridgesWriter extends Thread {
          * that we need to remove or replace for the sanitized descriptor
          * version. */
         } else {
-          this.logger.fine("Unrecognized line '" + line + "'. Skipping.");
+          this.logger.warning("Unrecognized line '" + line
+              + "'. Skipping.");
           return;
         }
       }
@@ -913,7 +914,8 @@ public class SanitizedBridgesWriter extends Thread {
          * that we need to remove or replace for the sanitized descriptor
          * version. */
         } else {
-          this.logger.fine("Unrecognized line '" + line + "'. Skipping.");
+          this.logger.warning("Unrecognized line '" + line
+              + "'. Skipping.");
           return;
         }
       }



More information about the tor-commits mailing list