How to change timezone on logs

logging

#1

My service uses JST (Asia / Tokyo) as the time zone.
I want to change the timezone of Couchbase’s log, is it possible?


#2

Hello @usk

The timezone used in the logs should match the system timezone. In this case it should be JST. There is no way to change the timezone of the log.

  • What do you want to change the timezone from and to?
  • Are the logs using the wrong timezone, if so which log file?

Thanks,
Patrick


#3

@pvarley Thank you for your reply!!

What do you want to change the timezone from and to?

I want to change from UTC to JST.

Are the logs using the wrong timezone, if so which log file?

All of couchbase logs uses UTC.
I use couchbase server on docker container.
I may have failed to configure containers. If Couchbase refers to the OS’s timezone.