diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-08-24 18:04:46 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-08-24 21:59:31 -0500 |
| commit | 000ebf6e9a34fc09d7f44978e8c5c7b8dfd56d9d (patch) | |
| tree | ad60b559cc158fbf35881add90958435c7c6de4b /src/slskd | |
| parent | 87d7578771a39f61399870db3f833565d6fd2f05 (diff) | |
| download | slskd-000ebf6e9a34fc09d7f44978e8c5c7b8dfd56d9d.tar.gz | |
enable disk logging by default
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 2f105963..3499e564 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1458,11 +1458,11 @@ namespace slskd /// <summary> /// Gets a value indicating whether to write logs to disk. /// </summary> - [Argument(default, "disk-logger")] - [EnvironmentVariable("DISK_LOGGER")] - [Description("enable logging to disk")] + [Argument(default, "no-disk-logger")] + [EnvironmentVariable("NO_DISK_LOGGER")] + [Description("disable logging to disk")] [RequiresRestart] - public bool Disk { get; init; } = false; + public bool Disk { get; init; } = true; /// <summary> /// Gets a value indicating whether to suppress colorization of console logs. |
