2004-11-17 jrandom

* Minor logging update.
This commit is contained in:
jrandom
2004-11-17 18:34:25 +00:00
committed by zzz
parent 107da0ae22
commit e733427920
5 changed files with 11 additions and 8 deletions

View File

@ -156,8 +156,8 @@ public class I2PTunnelRunner extends I2PThread implements I2PSocket.SocketErrorL
if (sockList != null) {
synchronized (slock) {
boolean removed = sockList.remove(i2ps);
System.out.println("Removal of i2psocket " + i2ps + " successful? "
+ removed + " remaining: " + sockList.size());
//System.out.println("Removal of i2psocket " + i2ps + " successful? "
// + removed + " remaining: " + sockList.size());
}
}
}

View File

@ -27,7 +27,7 @@ class LogRecordFormatter {
private final static int MAX_PRIORITY_LENGTH = 5;
public static String formatRecord(LogManager manager, LogRecord rec) {
int size = 64 + rec.getMessage().length();
int size = 128 + rec.getMessage().length();
if (rec.getThrowable() != null)
size += 512;
StringBuffer buf = new StringBuffer(size);

View File

@ -80,8 +80,8 @@ public class SimpleTimer {
synchronized (_events) {
if (_events.size() <= 0)
_events.wait();
if (_events.size() > 100)
_log.warn("> 100 events! " + _events.values());
//if (_events.size() > 100)
// _log.warn("> 100 events! " + _events.values());
long now = System.currentTimeMillis();
long nextEventDelay = -1;
Object nextEvent = null;

View File

@ -1,4 +1,7 @@
$Id: history.txt,v 1.72 2004/11/16 08:45:40 jrandom Exp $
$Id: history.txt,v 1.73 2004/11/16 17:11:12 jrandom Exp $
2004-11-17 jrandom
* Minor logging update.
2004-11-16 jrandom
* Clean up the propogation of i2psocket options so that various streaming

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.77 $ $Date: 2004/11/16 08:45:40 $";
public final static String ID = "$Revision: 1.78 $ $Date: 2004/11/16 17:11:12 $";
public final static String VERSION = "0.4.1.4";
public final static long BUILD = 6;
public final static long BUILD = 7;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);