debug log

This commit is contained in:
zzz
2013-04-19 11:47:05 +00:00
parent ddc5e2c23f
commit ca1e8d09cc

View File

@@ -132,6 +132,8 @@ public class RouterAppManager implements ClientAppManager {
public boolean register(ClientApp app) {
if (!_clients.containsKey(app))
return false;
if (_log.shouldLog(Log.INFO))
_log.info("Client " + app.getDisplayName() + " REGISTERED AS " + app.getName());
// TODO if old app in there is not running and != this app, allow replacement
return _registered.putIfAbsent(app.getName(), app) == null;
}