[PR #783] [MERGED] Allow configuring the log directory #1816

Closed
opened 2026-03-14 15:34:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/783
Author: @acuteenvy
Created: 7/28/2025
Status: Merged
Merged: 8/31/2025
Merged by: @aome510

Base: masterHead: log-cfg


📝 Commits (4)

  • a6f137a Allow configuring the log directory
  • 6cc47f4 Merge remote-tracking branch 'origin/master' into log-cfg
  • b8aa01a cleanup
  • 01bc784 avoid redundant change

📊 Changes

2 files changed (+27 additions, -6 deletions)

View changed files

📝 spotify_player/src/config/mod.rs (+4 -0)
📝 spotify_player/src/main.rs (+23 -6)

📄 Description

New config option in app.toml: log_folder
This allows the user to change the location of log and backtrace files. The default is still the same (cache directory).

When RUST_LOG is set to off, the log and backtrace files won't be created.

Closes #774.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/783 **Author:** [@acuteenvy](https://github.com/acuteenvy) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 8/31/2025 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `log-cfg` --- ### 📝 Commits (4) - [`a6f137a`](https://github.com/aome510/spotify-player/commit/a6f137aea51bf594ae31f3923e67a733f312ed53) Allow configuring the log directory - [`6cc47f4`](https://github.com/aome510/spotify-player/commit/6cc47f4c703cf60255a59b2cdbf2c785de91d87a) Merge remote-tracking branch 'origin/master' into log-cfg - [`b8aa01a`](https://github.com/aome510/spotify-player/commit/b8aa01a1792c7a55741214082ed7cb8daac9fe56) cleanup - [`01bc784`](https://github.com/aome510/spotify-player/commit/01bc784db9582cd835c3117908ddfc2dfbfa0653) avoid redundant change ### 📊 Changes **2 files changed** (+27 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `spotify_player/src/config/mod.rs` (+4 -0) 📝 `spotify_player/src/main.rs` (+23 -6) </details> ### 📄 Description New config option in `app.toml`: `log_folder` This allows the user to change the location of log and backtrace files. The default is still the same (cache directory). When `RUST_LOG` is set to `off`, the log and backtrace files won't be created. Closes #774. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 15:34:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1816
No description provided.