Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensible default folder for log and configuration files #248

Merged
merged 1 commit into from
May 20, 2024

Conversation

simulot
Copy link
Owner

@simulot simulot commented May 20, 2024

fix #215 Use XDG_CONFIG_HOME for storing config

The configuration file that contains the server and the key is now stored by default in following folder:

  • Linux $HOME/.config/immich-go/immich-go.json
  • Windows %AppData%\immich-go\immich-go.json
  • Apple $HOME/Library/Application Support/immich-go/immich-go.json

Store the log files into sensible dir for user's system

The default log file is:

  • Linux $HOME/.cache/immich-go/immich-go_YYYY-MM-DD_HH-MI-SS.log
  • Windows %LocalAppData%\immich-go\immich-go_YYYY-MM-DD_HH-MI-SS.log
  • Apple $HOME/Library/Caches/immich-go/immich-go_YYYY-MM-DD_HH-MI-SS.log

@simulot simulot merged commit 37f4b83 into main May 20, 2024
1 check passed
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.

Use XDG_CONFIG_HOME for storing config
1 participant