Logs: Minor improvements in log error handling