[or-cvs] [ernie/master] Classify SEVERE as warning, not as info.
karsten at torproject.org
karsten at torproject.org
Tue Apr 13 14:45:49 UTC 2010
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Tue, 13 Apr 2010 16:44:51 +0200
Subject: Classify SEVERE as warning, not as info.
Commit: 46e77aa0ab2af9303345e2f867713fd3ca147935
---
src/LoggingConfiguration.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/LoggingConfiguration.java b/src/LoggingConfiguration.java
index 3a2126c..b81fc6e 100644
--- a/src/LoggingConfiguration.java
+++ b/src/LoggingConfiguration.java
@@ -84,10 +84,10 @@ public class LoggingConfiguration {
+ "</td>\n"
+ " <td>" + record.getMessage() + "</td>\n"
+ " </tr>\n";
- if (record.getLevel().equals(Level.WARNING)) {
- this.warnings.append(msg);
- } else {
+ if (record.getLevel().equals(Level.INFO)) {
this.infos.append(msg);
+ } else {
+ this.warnings.append(msg);
}
return "";
}
--
1.6.5
More information about the tor-commits
mailing list