Automated identification of failure causes in system logs