[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-db/master] Tone down missing-descriptor warnings.
commit 0d873c4bf95d15cc0fa67160bea38eb9ba5bac50
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Fri Feb 12 11:12:30 2016 +0100
Tone down missing-descriptor warnings.
We should remove these checks in favor of the more robust reference
check, but let's keep the log lines for now as a backup.
---
src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java b/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java
index a85408c..60cfca9 100644
--- a/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java
+++ b/src/org/torproject/ernie/db/relaydescs/ArchiveWriter.java
@@ -731,7 +731,7 @@ public class ArchiveWriter extends Thread {
}
this.logger.info(sb.toString());
if (missingDescriptors) {
- this.logger.warning("We are missing at least 0.5% of server or "
+ this.logger.fine("We are missing at least 0.5% of server or "
+ "extra-info descriptors referenced from a consensus or "
+ "vote or at least 0.5% of microdescriptors referenced from a "
+ "microdesc consensus.");
@@ -739,13 +739,13 @@ public class ArchiveWriter extends Thread {
if (missingVotes) {
/* TODO Shouldn't warn if we're not trying to archive votes at
* all. */
- this.logger.warning("We are missing at least one vote that was "
+ this.logger.fine("We are missing at least one vote that was "
+ "referenced from a consensus.");
}
if (missingMicrodescConsensus) {
/* TODO Shouldn't warn if we're not trying to archive microdesc
* consensuses at all. */
- this.logger.warning("We are missing at least one microdesc "
+ this.logger.fine("We are missing at least one microdesc "
+ "consensus that was published together with a known "
+ "consensus.");
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits