comment out fprintf for logging