mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-05 04:46:36 +00:00
Change log timestamp format so fail2ban can parse it
This commit is contained in:
parent
3f5df3ef8d
commit
ec715d78fb
@ -71,7 +71,7 @@ fn init_logging() -> Result<(), fern::InitError> {
|
||||
.format(|out, message, record| {
|
||||
out.finish(format_args!(
|
||||
"{}[{}][{}] {}",
|
||||
chrono::Local::now().format("[%Y-%m-%d][%H:%M:%S]"),
|
||||
chrono::Local::now().format("[%Y-%m-%d %H:%M:%S]"),
|
||||
record.target(),
|
||||
record.level(),
|
||||
message
|
||||
|
Loading…
Reference in New Issue
Block a user