@Override
public void setLastApplied(long lastApplied) {
- log.debug("{}: Moving last applied index from {} to {}", id, this.lastApplied, lastApplied);
+ final Throwable stackTrace = log.isTraceEnabled() ? new Throwable() : null;
+ log.debug("{}: Moving last applied index from {} to {}", id, this.lastApplied, lastApplied, stackTrace);
this.lastApplied = lastApplied;
}
return replicatedLog;
}
- @Override public ActorSystem getActorSystem() {
+ @Override
+ public ActorSystem getActorSystem() {
return context.system();
}
- @Override public Logger getLogger() {
+ @Override
+ public Logger getLogger() {
return this.log;
}