Remove logging to avoid exceptions