Skip to Content

A stick figure smiling

Here's a preview from my zine, The Pocket Guide to Debugging! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript".

browse more comics! get the zine!
read the transcript!
If you can’t reproduce a bug, sometimes you need to comb through the logs for clues. Some tips:

  • filter out irrelevant lines (for example with grep -v)
  • find 1 failed request and search for that request’s ID to get all the logs for that request
  • build a timeline: copy and paste log lines (and your interpretations!) into a document
  • if you see a suspicious log line, search to make sure it doesn’t also happen during normal operation
  • if there’s a cascade of errors, find the first error that started the problems

Saturday Morning Comics!

Want another comic like this in your email every Saturday? Sign up here!

I'll send you one of my favourite comics from my archives every Saturday.
© Julia Evans 2024 | All rights reserved (see the FAQ for notes about licensing)