commit 10edb1f772f2774b97a05f4388d5ab15cb2a7e65
parent 5f177b6e5ef3b0edc735fd35f3c6b9d2e34b4644
Author: Antoine A <>
Date: Mon, 10 Jan 2022 12:33:49 +0100
Fix local time in logs
Diffstat:
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -210,6 +210,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
+name = "chrono"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
+dependencies = [
+ "libc",
+ "num-integer",
+ "num-traits",
+ "winapi",
+]
+
+[[package]]
name = "clap"
version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -466,6 +478,7 @@ version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b51b4517f4422bfa0515dafcc10b4cc4cd3953d69a19608fd74afb3b19e227c"
dependencies = [
+ "chrono",
"glob",
"lazy_static",
"log",
@@ -892,6 +905,16 @@ dependencies = [
]
[[package]]
+name = "num-integer"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+dependencies = [
+ "autocfg",
+ "num-traits",
+]
+
+[[package]]
name = "num-traits"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/taler-log/Cargo.toml b/taler-log/Cargo.toml
@@ -5,5 +5,7 @@ edition = "2021"
[dependencies]
log = "0.4.14"
-flexi_logger = { version = "0.22.0", default-features = false }
+flexi_logger = { version = "0.22.2", default-features = false, features = [
+ "use_chrono_for_offset",
+] }
time = { version = "0.3.5", features = ["formatting", "macros"] }