Exercise 2: Collect and analyze logs