Skip to content

feat: move logs to ~/.git-mem directory#19

Merged
TonyCasey merged 1 commit intomainfrom
git-38
Feb 12, 2026
Merged

feat: move logs to ~/.git-mem directory#19
TonyCasey merged 1 commit intomainfrom
git-38

Conversation

@TonyCasey
Copy link
Copy Markdown
Owner

Summary

  • Change default log location from system tmpdir (/var/folders/.../T/git-mem/logs) to user home directory (~/.git-mem/logs)
  • Makes logs easier to find and persistent across reboots
  • LOG_DIR env var still works as override

Test plan

  • Type check passes
  • All 161 tests pass
  • Manual verification: git mem remember "test" creates logs in ~/.git-mem/logs/

Closes GIT-38

🤖 Generated with Claude Code

Change default log location from system tmpdir to user home directory
for easier access and persistence across reboots.

- Update defaultLogDir() to use os.homedir()/.git-mem/logs
- LOG_DIR env var still works as override

Closes GIT-38

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@TonyCasey TonyCasey merged commit 485b3ee into main Feb 12, 2026
1 of 2 checks passed
@TonyCasey TonyCasey deleted the git-38 branch February 12, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant