From 64a2d7081be56c465c789b8f8045b4e9912b21a9 Mon Sep 17 00:00:00 2001 From: steviez Date: Wed, 8 Sep 2021 02:56:55 -0500 Subject: [PATCH] fixup! test-validator: start logging asap (#19655) --- validator/src/bin/solana-test-validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/src/bin/solana-test-validator.rs b/validator/src/bin/solana-test-validator.rs index dc77f4eac7..c6e76b5a2a 100644 --- a/validator/src/bin/solana-test-validator.rs +++ b/validator/src/bin/solana-test-validator.rs @@ -323,7 +323,7 @@ fn main() { 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()