partial logging cleanup