cleanup routine for actionlog