docs(README): adjust heading levels in logging section
All checks were successful
CI / Test (push) Successful in 33s
CI / Lint (push) Successful in 23s
CI / Build (push) Successful in 20s

Promote "Logging" to H2 and change subheadings from H1 to H3 for improved Markdown structure and hierarchy.
This commit is contained in:
Gregory Gauthier 2026-03-30 14:30:54 +01:00
parent 0c8ec610b8
commit 7055a23ca2

View File

@ -116,18 +116,18 @@ Grokkit is designed to work seamlessly with Git, using version control instead o
[Read the Safety & Change Management Guide](docs/user-guide/safety.md)
### Logging
## Logging
Logs are written to `~/.config/grokkit/grokkit.log` in JSON format.
# View logs in real-time
### View logs in real-time
`tail -f ~/.config/grokkit/grokkit.log`
# Find errors
### Find errors
`cat ~/.config/grokkit/grokkit.log | jq 'select(.level=="ERROR")'`
# Track API performance
### Track API performance
`cat ~/.config/grokkit/grokkit.log | jq 'select(.msg=="API request completed") | {model, duration_ms, response_length}'`