Tweaks to error log