added logging
Merge pull request #1307 from john-hill/PLFM-1655

added logging