-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong timeformat in proving-logs #17
Comments
This issue occurs in multithreaded programs, and Lotus is multithreaded. Lotus would need to initialize the logger while it's still single threaded (I don't know if that's possible in Go). Then you would get the local time. If you compile from source, you can try setting |
Thanks for the detailed explenation.😄 I will close this and rather add your comment in the Lotus-issue! |
The folks from |
chrono has fixed its vulnerability since v4.2.0 Fix filecoin-project#17 Signed-off-by: paulip1792 <[email protected]>
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible to get the local time in multi-threaded contexts. This was fixed with the latest release v0.24 of `flexi_logger`. It is using a fixed version of `chrono`, which also means that we don't have a dependency on `time` anymore. Closes #17, #18.
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible to get the local time in multi-threaded contexts. This was fixed with the latest release v0.24 of `flexi_logger`. It is using a fixed version of `chrono`, which also means that we don't have a dependency on `time` anymore. Fixes #17. Closes #18.
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible to get the local time in multi-threaded contexts. This was fixed with the latest release v0.24 of `flexi_logger`. It is using a fixed version of `chrono`, which also means that we don't have a dependency on `time` anymore. Fixes #17. Closes #18.
Hi! We are getting some reports that when doing windowPoSt the timezones in the logs change from their local-time to UTC, which seems to come from the changes in #14
Also seeing this log when running a wdPoSt-worker.
Was just wondering if there is a way to get local-time in the logs, instead of UTC? As debugging/searching logs is easier when the time-format is in local time. Feel free to close this if the cause for this time-mismatch is located in some other repo.
The text was updated successfully, but these errors were encountered: