Skip to content
Ameen Abozaid
Planned lessonJNR-054-L06

Demo: diagnosing a production fault from logs

  • Lesson 6 of 6
  • Junior
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

work from logs to root cause, fix, and test. Prepares JNR-054-LAB1.

Draft outline details

Step by step

  1. A user reports "orders fail". Note the time and find the logs.
  2. Locate the first ERROR; read the "Caused by" chain to the root cause.
  3. Reproduce locally by creating the same data in a test.
  4. Write the failing regression test, then fix the code, then run the test.
  5. Planned mistake: changing the config and the code at the same time; revert one so you know which change fixed it.
  6. Write a short bug report with root cause, fix, and test.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.