Skip to content

Add a real logging abstraction to the miner CLI #4835

Description

@JSONbored

Problem: Every CLI file uses ad hoc console.log/console.error calls — there's no logging dependency or abstraction at all in the package.

Area: AMS / Observability

Proposal: Introduce a minimal, dependency-light logging abstraction (level-aware, consistent formatting) and migrate the CLI's console calls onto it.

Deliverables:

  • A shared logger module used consistently across every CLI command.

Acceptance criteria:

  • Log level is configurable (e.g. via an env var or flag) and quiet/verbose modes both work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions