Avoid : in default log filename (#6796)

This commit is contained in:
Michael Vines 2019-11-07 15:36:29 -07:00 committed by GitHub
parent ddcf906a88
commit 23e232b496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);