added logging messages to newly added code in tagger-api