cli icon indicating copy to clipboard operation
cli copied to clipboard

Allow setting time zone locally for `heroku logs`

Open HaraldNordgren opened this issue 5 years ago • 2 comments

I don't necessarily want to change the time zone on my apps. But I want to have the option locally to influence the time zone display of heroku logs messages.

Seems that internally readLogsV2 make a request to https://va.logs.heroku.com/stream/... so possibly in there is where a new query parameter needs to be handled to influence output.

HaraldNordgren avatar Oct 08 '18 20:10 HaraldNordgren

that would come in pretty handy

R1DEN avatar Jun 22 '19 19:06 R1DEN

The PR above was closed without merge. Is there any alternative that one can use (may be some local env variable)? Setting Server's TZ doesn't help has logs --tail still show UTC time.

kdabir avatar Sep 09 '21 05:09 kdabir