moved common logging to debug
Merge pull request #686 from nlake44/logging

moved common logging to debug