Skip to content

add --help-loggers to rpk redpanda admin config log-level to improve admin user experience #15206

@hcoyote

Description

@hcoyote

Who is this for and what problem do they have today?

Redpanda administrators and operators.

Today, the only place to find the list of available loggers is to run redpanda --help-loggers. This detail is listed in a single doc reference page within an entirely different command (rpk redpanda admin config log-level), so when you have to use it, you have to go hunt for the specific command to run.

Adding the same output as redpanda --help-loggers to rpk redpanda admin config log-level (and probably it's sub commands) will make it easier for the operator to work with in the rare times they need to temporarily change log levels for different subsystems.

What are the success criteria?

rpk redpanda admin config log-level should have a --help-loggers option that emits the same log subsystem list as redpanda --loglevels

Why is solving this problem impactful?

Reduces administrator toil for having to hunt through documentation when needing to find the exact command to show the current list of logging subsystems.

Additional notes

See also internal thread: https://redpandadata.slack.com/archives/C04LYNJQUGN/p1701274243286489

JIRA Link: CORE-1605

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions