Removes logging statements