diff options
| -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. |
