diff --git a/README.md b/README.md index a9ce3e6..19a462b 100644 --- a/README.md +++ b/README.md @@ -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}'`