mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #774] Disable or change the location of log files #462
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#462
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @acuteenvy on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/774
Is your feature already implemented in the latest
master?Please go through the Features README page to make sure your request feature hasn't been implemented.
It isn't.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
spotify_playercreates log and backtrace files in its cache directory each time it's started. These files pile up quickly and need to be manually removed.Describe the solution you'd like
A clear and concise description of what you want to happen.
Some kind of CLI flag/config option to move and/or disable log files. I know that
--cache-folderexists, but that moves the entire cache, including the credentials.It would also be nice if the logs were stored in a temporary directory by default or at least cleaned up every once in a while.
@aome510 commented on GitHub (Jul 26, 2025):
Should be straightforward to allow the log file format to be configurable. Currently, it has a fixed format as in
github.com/aome510/spotify-player@f408b48780/spotify_player/src/main.rs (L40-L43)@acuteenvy commented on GitHub (Jul 27, 2025):
I can work on this, but what would be more appropriate to change the path in your opinion? Command-line flag, config option, something else?
@aome510 commented on GitHub (Jul 27, 2025):
Thanks for taking this. Should be a config option in
app.toml. See example file for more references.