runtime log cleanup