Add logging of tag numbers