Log the prepared statements