improved logger and fix image file path
Merge pull request #1022 from a-chumagin/master

improved logger and fix image file path