cleans up log configuration