Removes logger statements