I have the same problem. It seems that logback only erases a log corresponding a period in the past if some traces are written in the actual period. In other words, if you skip some periods without loggin anything, the corresponding periods in the past will not be erased.