1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
It's a good idea to keep all logs in UTC to avoid any ambiguity around daylight savings time shifts, leap minutes, etc. That's particularly important when the filenames themselves are timestamped - i.e. you would have a "hole" in your logs when the local time leaps forward, and traffic would appear to double during one hour once it leaps back. Arguably, healthd is following the best practice and is in the clear here.
As per nginx documentation,
By default, nginx removes all environment variables inherited from its parent process except the TZ variable.
but it can be overriden in nginx.conf:
user nginx; worker_processes auto; + env TZ=UTC;
That would do the trick.
回答済み 1ヶ月前
関連するコンテンツ
- AWS公式更新しました 1年前