Skip to content

Use a single flag for log-level in the CLI #3210

@kanishkatn

Description

@kanishkatn

Issue summary

Currently, we have several flags to set the log-level of the modules.

  • --log to set the global log-level
  • Module specific flags (--lcore, --lrpc etc) to set the module log-level

We could use a single flag to accept all the log-levels. For example:
--log global:info, core:debug, rpc:crit

Other information and links

This was noticed during the CLI refactor (#3173) and was decided to pick it up at a later stage

Discussion around the CLI refactor: #3171
CLI refactor main issue: #3163

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions