keybase / keybase/keybase-issues
Disable debugging (for kbfs)
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I recently noticed that my `keybase.kbfs.log` and `keybase.service.log` files were nearing around 100MB in size, each. It appears that both contain quite a bit of [DEBU ] statements.
When I run `keybase -d status` I can see that kbfs is started with the debug flag: `/Applications/Keybase.app/Contents/SharedSupport/bin/kbfs -debug -log-file=/Users/crahan/Library/Logs/keybase.kbfs.log`
Is there a way to disable this debug flag? Can we add `--no-debug` to the master `config.json` file to help prevent this. If so, can someone provide an example?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the master config.json handling and the kbfs command shown by `keybase -d status`. Trace how the debug flag is selected and how configuration reaches kbfs. Done means the configuration provides a documented way to avoid starting kbfs in debug mode and the resulting logs no longer contain the unwanted debug output.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100