| --- 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 |