Choosing log levels
On This Lesson 4 topics
The content for this lesson is written and waiting for review. The outline below shows what it covers. It will be published once it is approved.
In this lesson
pick the right level.
Planned topics
ERROR: something failed and needs attention.WARN: odd, but the system carried on.INFO: important business events, such as "order placed".DEBUG: details for developers; usually off in production.TRACE: very fine detail. Do not useERRORfor expected cases, like a user typing a wrong password.
Draft outline details
Demonstration
a table: situation / level (payment declined: WARN; database down: ERROR; order placed: INFO).
Check your understanding
Level for "user not found, as expected"?
Show answer
Not ERROR; INFO or DEBUG.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.