Some changes to logging.

This commit is contained in:
LevelX2 2015-05-22 22:33:01 +02:00
parent ae89cef011
commit 64ea893ea0
3 changed files with 5 additions and 21 deletions

View file

@ -336,7 +336,7 @@ public class GameController implements GameCallback {
joinType = "rejoined";
}
user.addGame(playerId, gameSession);
logger.debug("Player " + player.getLogName()+ " " + playerId + " has " + joinType + " gameId: " + game.getId());
logger.debug("Player " + player.getName()+ " " + playerId + " has " + joinType + " gameId: " + game.getId());
ChatManager.getInstance().broadcast(chatId, "", game.getPlayer(playerId).getLogName() + " has " + joinType + " the game", MessageColor.ORANGE, true, MessageType.GAME);
checkStart();
}