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

[BUG] spurious log file in $XDG_CONFIG_HOME #406

Open
hydrargyrum opened this issue Oct 22, 2023 · 0 comments
Open

[BUG] spurious log file in $XDG_CONFIG_HOME #406

hydrargyrum opened this issue Oct 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hydrargyrum
Copy link

Describe the bug

According to spec

$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored

So this file should not be there: ~/.config/bpytop/error.log

This is more suitable:

The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:

  • actions history (logs, history, recently used files, …)

To Reproduce

  • run bpytop

Expected behavior

  • log is created in good location
@hydrargyrum hydrargyrum added the bug Something isn't working label Oct 22, 2023
@hydrargyrum hydrargyrum changed the title [BUG] [BUG] spurious log file in $XDG_CONFIG_HOME Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants