Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does the INFO log level indicate?
Think about confirming successful actions in your application.
List two log levels from the Python logging module.
Remember the levels from most to least severe.
Which log level indicates the highest severity of issues?
It's the level you should watch out for when the application is in serious trouble.
True or False: DEBUG logs are generally used for confirming the application's normal operation.
Think about what level typically contains information about successful executions.
You are developing a Python application that processes user logs. Design a logging model that categorizes logs according to severity while ensuring sensitive data is protected. Discuss the implications of each log level in your strategy.
Think about data protection regulations like GDPR when logging personal data.
After running your application in production, you notice that it generates a massive amount of DEBUG logs, which is difficult to sift through. How would you transition your logging from DEBUG to INFO without losing critical data for debugging issues?
Consider balancing between keeping track of important metrics and maintaining clarity in logs.
5 more questions in this section. Enroll free to practise them all.
Enroll free