logging cleanup work