fix 4166 - better logging of deprecated tags
Merge pull request #86 from jamerlan/master

fix 4166 - better logging of deprecated tags