Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Change the logging levels on the fly #2376

@pepyakin

Description

@pepyakin

During debugging, it happened to me a couple of times that I wished I could change the logging levels without bringing down the whole node. In the case of polkadot-launch testing, that typically means bringing down the whole testnet.

It would be quite handy to have ability to change the logging levels on the fly. As a strawman idea, there could be a special flag that if enabled makes the node to expose an HTTP endpoint that listens on localhost for requests. Upon a POST request it will change the logging levels. The body format should be something simple so that it can be changed easily with curl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions