Updating the information sent to log to help detect errors