Removes logging statements that were causing crashes