Avoid : in default log filename (#6796)
This commit is contained in:
parent
ddcf906a88
commit
23e232b496
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue