Workflow · Build
Log to diagnosis
Start with
An error, and the log lines from around the time it happened.
The steps
- Cut the log down to the part around the error, and remove passwords, keys, tokens and customer data first.
- Say what the system is, what you were doing and when it broke.
- Ask for the lines that matter most and what each one means in plain words.
- Ask for a short list of likely causes, most likely first, with one check for each.
- Run the checks yourself and report back what you found.
- Write a two-line note of the cause and the fix for next time.
A prompt to start from
This is a log from {system} around the time {what went wrong}. Secrets are removed. {paste log}. Point out the lines that matter and explain each in plain words. Then list up to three likely causes, most likely first, with one check I can run for each. Don't guess beyond what the log shows.
Fill in the {blanks} with your own words, then send it.
Done when
You’ve run the checks, found the cause or ruled out the top suspects, and written down what you learned.
Works best for
Crashes, failed deploys and confusing error messages in systems you look after.
Watch out for
Logs often hold secrets and personal data, so clean them before pasting, and treat the first guess as a lead, not an answer.