`solana-test-validator --log` now includes version/argument information

This commit is contained in:
Michael Vines 2021-10-22 11:15:07 -07:00
parent 4fbf44dc75
commit 86bf071d77
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
use {
clap::{value_t, value_t_or_exit, App, Arg},
clap::{crate_name, value_t, value_t_or_exit, App, Arg},
log::*,
solana_clap_utils::{
input_parsers::{pubkey_of, pubkeys_of, value_of},
input_validators::{
@ -340,6 +341,8 @@ fn main() {
};
let _logger_thread = redirect_stderr_to_file(logfile);
info!("{} {}", crate_name!(), solana_version::version!());
info!("Starting validator with: {:#?}", std::env::args_os());
solana_core::validator::report_target_features();
// TODO: Ideally test-validator should *only* allow private addresses.