You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DailyRotateFile transport rotates based on the local time zone configured on the machine it is running on.
Winston's default time stamps in the log lines are UTC (ISO string).
This means that when the local machine is set to a time zone other than UTC the log file for a given date (as set by DailyRotateFile) might include entries that seem to be from a day before or after (depending on the time zone) when actually they are just described in a different time zone (UTC).
Ideally it (and all other transports) should use the same mechanism used by Winston itself or at least have a standard configuration that makes this issue clear.
The text was updated successfully, but these errors were encountered:
The DailyRotateFile transport was moved to a separate module (winston-daily-rotate-file) as of winston@2.0.0. As such we are closing issues here and tracking their status in a single tracking issue in the new repository.
The DailyRotateFile transport rotates based on the local time zone configured on the machine it is running on.
Winston's default time stamps in the log lines are UTC (ISO string).
This means that when the local machine is set to a time zone other than UTC the log file for a given date (as set by DailyRotateFile) might include entries that seem to be from a day before or after (depending on the time zone) when actually they are just described in a different time zone (UTC).
Ideally it (and all other transports) should use the same mechanism used by Winston itself or at least have a standard configuration that makes this issue clear.
The text was updated successfully, but these errors were encountered: