fix #3513: do not clean offline logs during background cleanup