log img file name
log error msgs
log warnings