bug fix for logger
Merge pull request #96 from wtangiit/master

bug fix for logger