From 8a9a9cb991fe704d1d658e7f3fa07167db277c38 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 (cherry picked from commit effe6e3ff38ab391c537ecd5c2989ab493f37c81) --- validator/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator/src/main.rs b/validator/src/main.rs index fc6fb80f9f..85a7678808 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).