mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 02:12:54 +00:00
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:
1 parent
e0bfdff152
commit
8660cf0d74
21 files changed
+400
-70
No files matched your search
@@ -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