change to use proper logger
Merge pull request #115 from lusis/logging_fix

change to use proper logger