forked from I2P_Developers/i2p.i2p
2005-08-27 jrandom
* Minor logging and optimization tweaks in the router and SDK * Use ISO-8859-1 in the XML files (thanks redzara!) * The consolePassword config property can now be used to bypass the router console's nonce checking, allowing CLI restarts
This commit is contained in:
@@ -141,14 +141,17 @@ public class LogManager {
|
||||
public Log getLog(Class cls, String name) {
|
||||
Log rv = null;
|
||||
String scope = Log.getScope(name, cls);
|
||||
boolean isNew = false;
|
||||
synchronized (_logs) {
|
||||
rv = (Log)_logs.get(scope);
|
||||
if (rv == null) {
|
||||
rv = new Log(this, cls, name);
|
||||
_logs.put(scope, rv);
|
||||
isNew = true;
|
||||
}
|
||||
}
|
||||
updateLimit(rv);
|
||||
if (isNew)
|
||||
updateLimit(rv);
|
||||
return rv;
|
||||
}
|
||||
public List getLogs() {
|
||||
|
Reference in New Issue
Block a user