Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: settings screen - allow adjusting kubo log level #2294

Open
SgtPooki opened this issue Nov 14, 2024 · 1 comment
Open

feat: settings screen - allow adjusting kubo log level #2294

SgtPooki opened this issue Nov 14, 2024 · 1 comment
Labels
area/screen/settings Issues related to Settings screen effort/hours Estimated to take one or several hours exp/beginner Can be confidently tackled by newcomers good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked

Comments

@SgtPooki
Copy link
Member

SgtPooki commented Nov 14, 2024

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

@SgtPooki SgtPooki added help wanted Seeking public contribution on this issue P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked good first issue Good issue for new contributors kind/enhancement A net-new feature or improvement to an existing feature exp/beginner Can be confidently tackled by newcomers effort/hours Estimated to take one or several hours area/screen/settings Issues related to Settings screen labels Nov 14, 2024
@lidel
Copy link
Member

lidel commented Nov 14, 2024

Somehow related, if we fixed ipfs/kubo#9245 we could show logs in realtime in the webui, similar to how github actions print logs.

Also, we may decide to move this from "Settings" to a new "Diagnostics" screen, that has tabs at the top, and "Logs" sub-screen would be one of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/screen/settings Issues related to Settings screen effort/hours Estimated to take one or several hours exp/beginner Can be confidently tackled by newcomers good first issue Good issue for new contributors help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants