Skip to content

Commit

Permalink
chore: remove the verbosity argument from antctl
Browse files Browse the repository at this point in the history
This was an argument that was implemented in a clumsy manual way that was intended to vary the
amount of output on the node manager. We will need to provide another `verbose` argument on the
`local run` command to control the output of the logs for local networks.

We still need to retain the use of it, but instead of setting it via a command line argument, it
will just be set to `Normal`. The `node-launchpad` sets it to `Minimal` in the places where it needs
the text output reduced.
  • Loading branch information
jacderida committed Jan 27, 2025
1 parent dc60e17 commit 243a030
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ant-node-manager/src/bin/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ pub(crate) struct Cmd {
#[clap(long, conflicts_with = "debug")]
trace: bool,

#[clap(short, long, action = clap::ArgAction::Count, default_value_t = 2)]
verbose: u8,

/// Print version information.
#[clap(long)]
version: bool,
Expand Down Expand Up @@ -906,7 +903,7 @@ async fn main() -> Result<()> {
return Ok(());
}

let verbosity = VerbosityLevel::from(args.verbose);
let verbosity = VerbosityLevel::Normal;

let _log_handle = if args.debug || args.trace {
let level = if args.debug {
Expand Down

0 comments on commit 243a030

Please sign in to comment.