* some logging changes.

This commit is contained in:
LevelX2 2013-10-09 17:12:14 +02:00
parent cddff5fbac
commit 45c875384c
3 changed files with 4 additions and 3 deletions

View file

@ -105,7 +105,7 @@ public class UserManager {
ChatManager.getInstance().removeUser(userId, User.DisconnectReason.Disconnected);
if (users.containsKey(userId)) {
User user = users.get(userId);
logger.info(new StringBuilder("User ").append(user.getName()).append("disconnected id:").append(userId).toString());
logger.info(new StringBuilder("User ").append(user.getName()).append(" disconnected id:").append(userId).toString());
users.get(userId).setSessionId("");
ChatManager.getInstance().broadcast(userId, "has lost connection", MessageColor.BLACK);
}

View file

@ -15,7 +15,7 @@ public class ArtificialScoringSystem implements ScoringSystem {
static {
inst = new ArtificialScoringSystem();
log.info("ArtificialScoringSystem has been instantiated.");
log.debug("ArtificialScoringSystem has been instantiated.");
}
/**
@ -25,6 +25,7 @@ public class ArtificialScoringSystem implements ScoringSystem {
* @param game
* @return
*/
@Override
public int getLoseGameScore(final Game game) {
if (game.getStep() == null) {
return 0;

View file

@ -104,7 +104,7 @@ public abstract class MatchImpl implements Match {
@Override
public void startMatch() throws GameException {
this.startTime = new Date();
}
@Override