From effe6e3ff38ab391c537ecd5c2989ab493f37c81 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Wed, 29 Jan 2020 17:35:28 +0800 Subject: [PATCH] Log solana-validator args on startup to aid debugging --- validator/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator/src/main.rs b/validator/src/main.rs index fc6fb80f9..85a767880 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -765,6 +765,8 @@ pub fn main() { .join(","), ); + info!("Starting validator with: {:#?}", std::env::args_os()); + let vote_account = pubkey_of(&matches, "vote_account").unwrap_or_else(|| { // Disable voting because normal (=not bootstrapping) validator rejects // non-voting accounts (= ephemeral keypairs).