* Some minor changes to server logging.

This commit is contained in:
LevelX2 2014-12-11 02:06:34 +01:00
parent 13ca02536e
commit 6434df04b2
3 changed files with 12 additions and 9 deletions

View file

@ -242,10 +242,10 @@ public class MageServerImpl implements MageServer {
@Override
public Boolean execute() throws MageException {
UUID userId = SessionManager.getInstance().getSession(sessionId).getUserId();
if (logger.isDebugEnabled()) {
if (logger.isTraceEnabled()) {
User user = UserManager.getInstance().getUser(userId);
if (user != null) {
logger.debug("join tourn. tableId: " + tableId + " " + name);
logger.trace("join tourn. tableId: " + tableId + " " + name);
}
}
if (userId == null) {