aristocratos / bpytop

Linux/OSX/FreeBSD resource monitor
Apache License 2.0
10.07k stars 397 forks source link

[BUG] spurious log file in $XDG_CONFIG_HOME #406

Open hydrargyrum opened 10 months ago

hydrargyrum commented 10 months ago

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

Expected behavior