fixing production logging