Skip to content

CLI for observability #10

@suhas-sri-vaastav

Description

@suhas-sri-vaastav

CLI for observability

Create CLI for observability or discovery of loggers.

Motivation

People may sometimes forget what all loggers, logger configurators or env-vars, vq-support they have configured on an old project.

Proposal

Provide a CLI with lgcn name that can details logger and logger configuration information about programs that use logician.

Functionalities

  • Make it similar to the ls Unix command.
    • print list of all the logger names if no option is provided
    • print detail list if -l option is provided.
    • print the list of supported env-vars on -e option
    • Make -l and -e co-operate.
    • Allow users to pass their own format to allow programmatic parsing.
  • Do not print any information on programs that do not use logician.
  • Try to import the library to get logger conf #26
  • Allow running subprocess for commands assuming that they support the --help CLI option.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions