Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jh3
18 days ago
|
parent
|
context
|
favorite
| on:
Living Dangerously with Claude
What are you doing to keep a JSONL per session? Or is this something built in? I’m interested in estimating token costs in this way.
simonw
17 days ago
[–]
It's built in - the ~/.claude/projects folder stores the JSONL for 30 days or you can extend the retention time like this:
https://simonwillison.net/2025/Oct/22/claude-code-logs/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: