diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-08-24 22:09:48 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-08-24 22:09:48 -0500 |
| commit | a2ea57c27b04429b88791fd3933224da982a2339 (patch) | |
| tree | a5f9e7f84d364b172109a2199a10db58f4b4af89 | |
| parent | afe9b7c7c4fc66a96ab8cd5e8c03bbf27c7b792f (diff) | |
| download | slskd-a2ea57c27b04429b88791fd3933224da982a2339.tar.gz | |
invert disk option
| -rw-r--r-- | config/slskd.example.yml | 2 | ||||
| -rw-r--r-- | src/slskd/Core/Options.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 442d0ce3..86b7b17f 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -195,7 +195,7 @@ # circuit_breaker: 500 # maximum number of pending search requests # response_file_limit: 500 # maximum number of files to return in a single search response # logger: -# disk: true +# no_disk: false # no_color: false # loki: ~ # metrics: diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 3499e564..13a24eed 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1462,7 +1462,7 @@ namespace slskd [EnvironmentVariable("NO_DISK_LOGGER")] [Description("disable logging to disk")] [RequiresRestart] - public bool Disk { get; init; } = true; + public bool NoDisk { get; init; } = false; /// <summary> /// Gets a value indicating whether to suppress colorization of console logs. |
