[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-db/master] Make log message about invalid or-address lines more useful.



commit a2a7e6f173ef4fb7cfa66782aaa38969a00f0686
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Feb 16 13:24:15 2012 +0100

    Make log message about invalid or-address lines more useful.
---
 .../ernie/db/SanitizedBridgesWriter.java           |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/ernie/db/SanitizedBridgesWriter.java b/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
index d2f2a02..c15c6d1 100644
--- a/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
+++ b/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
@@ -768,8 +768,9 @@ public class SanitizedBridgesWriter {
                 if (scrubbedOrAddress != null) {
                   scrubbedOrAddresses.add(scrubbedOrAddress);
                 } else {
-                  this.logger.warning("Invalid address in line '" + line
-                      + "' in bridge server descriptor.  Skipping line!");
+                  this.logger.warning("Invalid address in line "
+                      + "'or-address " + orAddress + "' in bridge server "
+                      + "descriptor.  Skipping line!");
                 }
               }
             }

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits