estk / log4rs

A highly configurable logging framework for Rust
Apache License 2.0
998 stars 147 forks source link

Timestamps assume UTC timezone in docker containers, ignoring TZ variable #376

Closed snaggen closed 4 months ago

snaggen commented 4 months ago

All my logs seems to be in localtime, but with assumed UTC offset. This is probably since Local in chrono doesn't support TZ, and I'm not sure they are likely to do so. This could probably be resolved by an custom TimeZone implementation.

snaggen commented 4 months ago

Ok, chrono seems to support TZ... so my problems is probably elsewhere. Closing.