Avoid : in default log filename (#6796) (#6798)

automerge
This commit is contained in:
mergify[bot]
2019-11-07 15:17:47 -08:00
committed by Grimes
parent ea3eddfec4
commit efb8b6bf2f

View File

@ -539,7 +539,7 @@ pub fn main() {
let default_logfile = format!(
"solana-validator-{}-{}.log",
identity_keypair.pubkey(),
chrono::Local::now().to_rfc3339()
chrono::Utc::now().format("%Y%m%d-%H%M%S")
);
let logfile = matches.value_of("logfile").unwrap_or(&default_logfile);