Understanding your application through logs and log analysis: Theory – Part 1