* fixup! test-validator: start logging asap (#19655)
(cherry picked from commit 64a2d7081b
)
# Conflicts:
# validator/src/bin/solana-test-validator.rs
* Resolves conflicts
Co-authored-by: steviez <steven@solana.com>
This commit is contained in:
@ -322,7 +322,8 @@ fn main() {
|
||||
solana_runtime::snapshot_utils::remove_tmp_snapshot_archives(&ledger_path);
|
||||
|
||||
let validator_log_symlink = ledger_path.join("validator.log");
|
||||
let logfile = if output != Output::Log {
|
||||
|
||||
let logfile = if output == Output::Log {
|
||||
let validator_log_with_timestamp = format!(
|
||||
"validator-{}.log",
|
||||
SystemTime::now()
|
||||
|
Reference in New Issue
Block a user