init logging cleanup