Log the important state transitions and identifiers so the operator can reconstruct what happened quickly. Interviewers often ask how you would debug production without a debugger attached, and logs are the first answer.
The strongest answers connect the feature to reasoning and tradeoffs instead of reciting syntax.