ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

feat: settings screen - allow adjusting kubo log level

Open SgtPooki opened this issue 11 months ago • 8 comments

Is your feature request related to a problem? Please describe.

We should allow users to configure the log level of their Kubo node from the webui settings screen.

Describe the solution you'd like

Create some config UI options in the settings page that will cause a call to https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-log-level to happen, to set the log level.

Describe alternatives you've considered

  • Allow setting Env vars for the ipfsd-ctl in ipfs-desktop - doesn't solve need for ipfs-webui users.

Additional context

We could have an entry like this for key:value view and adding/removing ${subsystem}:${logLevel} settings:

image

Bonus item

  • It would be great if we could allow users to select the subsystem from the list of log items output by https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-log-ls

SgtPooki avatar Nov 14 '24 16:11 SgtPooki