Stop info logging state transitions
This can get far too verbose for regular old info logging. There are a lot of
others that should be revisited too.
@@ -255,7 +255,6 @@ public class LocalSpawnRunner implements SpawnRunner {
private void setState(State newState) {
long now = System.currentTimeMillis();
- long totalDelta = now - creationTime;
long stepDelta = now - stateStartTime;
stateStartTime = now;
@@ -263,9 +262,6 @@ public class LocalSpawnRunner implements SpawnRunner {
long stateTime = (stateTimeBoxed == null) ? 0 : stateTimeBoxed;
stateTimes.put(currentState, stateTime + stepDelta);
- logger.atInfo().log(
- "Step #%d time: %.3f delta: %.3f state: %s --> %s",
- id, totalDelta / 1000f, stepDelta / 1000f, currentState, newState);
currentState = newState;
}
