Add a timestamp at beginning of each error message before send to log

This will add a timestamp using RFC 2822 format.