The service will ___ an error to the log whenever a request fails.
To log an error means to record it to the application logs. Log is the precise term, behind "logging" and "log an event." Write down up, note out, and record over are informal or grammatically odd. Engineers "log the error with context," so log an error is the correct collocation.
2 / 5
The team uses JSON so that downstream tools can ___ the logs into searchable fields.
To parse logs means to interpret their structure into fields. Parse is the precise term, behind "log parsing" and "structured logging." Read up, break out, and split over are informal or imprecise. Tools "parse the JSON logs into fields," so parse the logs is the correct collocation.
3 / 5
A correlation ID lets engineers ___ a single request across all the services it touched.
To trace a request means to follow its path across services using a shared identifier. Trace is the precise term, behind "distributed tracing" and "correlation ID." Follow up, track out, and chase over are informal or imprecise. Engineers "trace the request via its correlation ID," so trace a request is the correct collocation.
4 / 5
To control volume, the team will ___ the log level to WARN in production.
To set the log level means to configure the verbosity threshold (DEBUG/INFO/WARN/ERROR). Set is the standard term, behind "log level." Put up, place out, and fix over are informal. Engineers "set the log level to WARN in prod," so set the log level is the correct collocation.
5 / 5
Old logs are automatically ___ after 30 days to keep storage costs down.
To rotate logs means to archive or delete old log files on a schedule to manage storage. Rotate is the precise term, behind "log rotation" and tools like logrotate. Turned over up, cycled out, and spun off are informal or wrong. Engineers "rotate the logs after 30 days," so rotate logs is the correct collocation.