Improved logging format
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ pub fn init_logging_config() -> log4rs::Config {
|
||||
let file_path = "/tmp/managarr.log";
|
||||
let logfile = FileAppender::builder()
|
||||
.encoder(Box::new(PatternEncoder::new(
|
||||
"{h({d(%Y-%m-%d %H:%M:%S)(utc)} - {l}: {m}{n})}",
|
||||
"{d(%Y-%m-%d %H:%M:%S%.3f)(utc)} <{i}> [{l}] {f}:{L} - {m}{n}",
|
||||
)))
|
||||
.build(file_path)
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user