Do not log image data in any circumstances
Merge pull request #848 from dionyziz/log_no_images

Do not log image data in any circumstances. (part 1)