Use logger.debug
for debug message, fixes #773
#774
Merged
logger.debug
for debug message, fixes #773
#774