Added error log scanning