From f9c2624b24a8e3cf12aae18ea4a0b18aae03dbf9 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Tue, 14 Dec 2010 14:51:23 +0000
Subject: [PATCH] disable log priority override for now

---
 core/java/src/net/i2p/util/Log.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/java/src/net/i2p/util/Log.java b/core/java/src/net/i2p/util/Log.java
index 725b389e0e..b22325adb4 100644
--- a/core/java/src/net/i2p/util/Log.java
+++ b/core/java/src/net/i2p/util/Log.java
@@ -108,8 +108,8 @@ public class Log {
 
     public void log(int priority, String msg, Throwable t) {
         // Boost the priority of NPE and friends so they get seen and reported
-        if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
-            priority = CRIT;
+        //if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
+        //    priority = CRIT;
         if (priority >= _minPriority) {
             _manager.addRecord(new LogRecord(_class, _name, 
                                              Thread.currentThread().getName(), priority,
-- 
GitLab