Skip to content

[BUG] spurious log file in $XDG_CONFIG_HOME #406

Open
@hydrargyrum

Description

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

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions