Autonomic Interview Question

How do you diagnose a failure using logs?