Remove logging of successful join/leave steps.

This was mainly left in for debugging purposes, but it creates a bit too much spam that isn't really informative or helpful in any way, since the exception reveals the failed step anyway.
This commit is contained in:
Andreas Troelsen 2018-05-04 03:53:09 +02:00
parent dd95e16881
commit 7aad81e33f

View File

@ -42,7 +42,6 @@ class PlayerMultiStep extends PlayerStep {
try {
step.run();
history.push(step);
logger.info("Step " + step + " OK");
} catch (RuntimeException up) {
logger.log(Level.SEVERE, up, () -> "Failed to run step " + step);
undo();
@ -57,7 +56,6 @@ class PlayerMultiStep extends PlayerStep {
Step step = history.pop();
try {
step.undo();
logger.info("Rollback " + step + " OK");
} catch (RuntimeException e) {
logger.log(Level.SEVERE, e, () -> "Failed to undo step " + step);
}