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

logfile should in xdg_state_dir #224

Open
Decodetalkers opened this issue Jul 13, 2023 · 1 comment
Open

logfile should in xdg_state_dir #224

Decodetalkers opened this issue Jul 13, 2023 · 1 comment
Labels
needs discussion I want users' voice

Comments

@Decodetalkers
Copy link

I think log should put in here, this is where log file put

https://github.com/dirs-dev/dirs-rs/blob/main/src/lin.rs#L15

@kyoheiu
Copy link
Owner

kyoheiu commented Jul 14, 2023

Thanks for the suggestion.

I'm not sure if that's the best way to store log files. First, using ~/.local/state instead of ~/.local/share would increase the number of directories created by felix, which may not be desirable for some people.
Additionally, macOS and Windows lack an equivalent to XDG_STATE_HOME, further complicating this issue.

For now, I'll stick with the current approach, but I'll keep my eye on this.

@kyoheiu kyoheiu added the needs discussion I want users' voice label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion I want users' voice
Projects
None yet
Development

No branches or pull requests

2 participants