5.1 - Why Logging?
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What is the purpose of logging in software development?
💡 Hint: Think about what happens when something goes wrong.
List two log levels and their purposes.
💡 Hint: Consider what you would need during a failure.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the main purpose of logging?
💡 Hint: Think of how you would maintain understanding of a program's status.
True or False: You should log sensitive personal information such as passwords.
💡 Hint: Consider the security risks involved with data logging.
Get performance evaluation
Challenge Problems
Push your limits with advanced challenges
Create a Python logger that writes messages of all severity levels to a file and the console. Describe the configuration you would use.
💡 Hint: Consider the difference between console and file handlers in your setup.
Discuss the implications of logging too much information. Provide recommendations to mitigate this issue.
💡 Hint: Think about how logs can be filtered and controlled.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.