ilogtail icon indicating copy to clipboard operation
ilogtail copied to clipboard

[BUG]: In Apsara mode, when business container's time zone is not UTC and adjustTimeZone is set true, the mictime is not correct.

Open linrunqi08 opened this issue 3 years ago • 0 comments

Describe the bug

The business container was set timezone by the yaml:

  • name: TZ value: Asia/Shanghai

The logtail config: adjustTimezone: true, logTimezone: "GMT+08:00"

And logtail ds was in UTC Mock the business log: echo -e ‘[2022-08-01 12:42:41]\tlevel:INFO2’ >> test.log

will get the result like: image

To Reproduce

microtime should be “[2022-08-01 12:42:41]” , same as time filed

linrunqi08 avatar Aug 01 '22 06:08 linrunqi08