summaryrefslogtreecommitdiff
blob: 07dd05227582a378c352bf7754d984d932a4193e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- core/java/src/net/i2p/util/NativeBigInteger.java.orig	2011-07-29 13:14:05.000000000 +0200
+++ core/java/src/net/i2p/util/NativeBigInteger.java	2011-07-29 13:15:16.000000000 +0200
@@ -481,14 +481,12 @@
     
     /** @since 0.8.7 */
     private static void debug(String s) {
-        I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).debug(s);
+		System.err.println("DEBUG: " + s);
     }
 
     
     private static void info(String s) {
-        if(_doLog)
-            System.err.println("INFO: " + s);
-        I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).info(s);
+		System.err.println("INFO: " + s);
         _loadStatus = s;
     }
 
@@ -496,12 +496,9 @@
 
     /** @since 0.8.7 */
     private static void warn(String s, Throwable t) {
-        if(_doLog) {
-            System.err.println("WARNING: " + s);
-            if (t != null)
-                t.printStackTrace();
-        }
-        I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).warn(s, t);
+		System.err.println("WARNING: " + s);
+		if (t != null)
+			t.printStackTrace();
         if (t != null)
             _loadStatus = s + ' ' + t;
         else