memcached logs always use Z (UTC) for timezone when logging

Description

It looks like some recent changes in the memcached logging has caused the timezone in the memcached logs to be always printed with Z, referring to UTC, even when the timezone of the system (and other logs) is different.

Looks like the "Z" is hard coded here https://github.com/couchbase/kv_engine/blob/master/logger/spdlogger.cc#L44

Note the time is not actually converted to UTC, it is still using the system's local timezone. This is misleading as the reader may (quite reasonably) think the log message refers to UTC and hence struggle to correlate log messages.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None
100% Done
Loading...

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created October 11, 2018 at 11:35 AM
Updated November 22, 2018 at 4:48 PM
Resolved October 17, 2018 at 8:14 AM
Instabug