You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Pierre-Luc Collard <pi...@mondoin.com> on 2017/01/27 18:13:46 UTC
log timezone
Hello,
I would like to know if it's possible to define the timezone to use in the
logs instead of GMT time ?
Thanks,
Pierre-Luc
Re: log timezone
Posted by Joan Touzet <wo...@apache.org>.
Hi Pierre,
Not without modifying the CouchDB source code. ISO8601 timestamps
are hard coded.
Here's the relevant source code if you feel adventurous:
https://github.com/apache/couchdb-couch-log/blob/master/src/couch_log_formatter.erl#L39-L56
https://github.com/apache/couchdb-couch-log/blob/master/src/couch_log_util.erl#L40-L45
Good luck,
Joan
----- Original Message -----
> From: "Pierre-Luc Collard" <pi...@mondoin.com>
> To: user@couchdb.apache.org
> Sent: Friday, January 27, 2017 1:13:46 PM
> Subject: log timezone
>
> Hello,
>
> I would like to know if it's possible to define the timezone to use
> in the
> logs instead of GMT time ?
>
> Thanks,
>
> Pierre-Luc
>