aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-08-24 18:04:46 -0500
committerJP Dillingham <jp@dillingham.me>2026-08-24 18:04:46 -0500
commit556b588197f31ed98c0e3dec7a9ceeddf8eb10e3 (patch)
tree47578ecfae0dda3de7a05480d4fb4b3f887dcc02 /src/slskd/Core
parentf3dca154f98a9f37c9323b2e276e4f6d5540850c (diff)
downloadslskd-556b588197f31ed98c0e3dec7a9ceeddf8eb10e3.tar.gz
enable disk logging by default
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index d1062a2c..84dafe29 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.