Skip to content
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

Logging not using local time #341

Open
1 task done
Commandcracker opened this issue Nov 25, 2024 · 0 comments
Open
1 task done

Logging not using local time #341

Commandcracker opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Commandcracker
Copy link
Contributor

Commandcracker commented Nov 25, 2024

I've searched existing issues and couldn't find a duplicate.

  • I confirm this is not a duplicate.

Is your feature request related to a problem? Please describe.

Add option to use local time

Describe the solution you'd like

Use simple-logger with .with_local_timestamps(), but this is not working for docker and has some other issues like summer times.
Also see https://github.com/borntyping/rust-simple_logger/blob/fb96a82c274f92eff417904e6e819f25f3b51ccc/src/lib.rs#L442-L451 and borntyping/rust-simple_logger#84.
Maybe also https://docs.rs/time/latest/time/ local-offset

@Commandcracker Commandcracker added the enhancement New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants