Complete Lesson 8 - logging