All jobs / Backend developer / Deployment Basics

Backend developer interview question · 0–1 years

The interviewer asks: “How do you log from a service in production?” Strongest answer?

The strongest answer

A logger with levels, a request id, and no secrets in the message. Console.log / print is for a local experiment, not the traffic path.

Why it works

Exactly. Structured logs + correlation id beat a wall of prints. Levels let you turn debug on without shipping secrets.

What a good answer covers

Answers that fall short

Who gets asked this

More Deployment Basics questions