aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-09-30 10:02:31 -0500
committerGitHub <noreply@github.com>2026-09-30 10:02:31 -0500
commit21f0caf2fc3114d70eabe62ffdd3305ab684c365 (patch)
tree31e43c1b990670d8d251e0310d8f6fc1b1243d55 /src/slskd/Core
parentf950cfdb6145b7a251f3c12f3eee14b295a4b374 (diff)
parent7beef0748745aaa01b717dbde294365ec7a1dc36 (diff)
downloadslskd-21f0caf2fc3114d70eabe62ffdd3305ab684c365.tar.gz
Merge branch 'master' into dockerfile
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index d1062a2c..13a24eed 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 NoDisk { get; init; } = false;
/// <summary>
/// Gets a value indicating whether to suppress colorization of console logs.
@@ -1500,8 +1500,8 @@ namespace slskd
/// <summary>
/// Gets the time to retain logs, in days.
/// </summary>
- [Range(1, maximum: int.MaxValue)]
- public int Logs { get; init; } = 180;
+ [Range(7, maximum: int.MaxValue)]
+ public int Logs { get; init; } = 30;
/// <summary>
/// Transfer retention options.