some logging cleanup