add domain name to error logs