logging update to help diagnose freezing issue