Improving log to find a problem with the attachment..