diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-06-01 16:07:55 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-06-01 16:07:55 -0500 |
| commit | 3a00c660d28053edb747c72ea2a76a6917bd069d (patch) | |
| tree | 00334090c14b470c10c963dd067ca1dc97b3bf62 /src/slskd/Core/Options.cs | |
| parent | b33449b0282d7f466be22570c26e9e3c982b888a (diff) | |
| download | slskd-3a00c660d28053edb747c72ea2a76a6917bd069d.tar.gz | |
disable disk logging by default
Diffstat (limited to 'src/slskd/Core/Options.cs')
| -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 1b049ae1..dcba5cc0 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1289,11 +1289,11 @@ namespace slskd /// <summary> /// Gets a value indicating whether to write logs to disk. /// </summary> - [Argument(default, "no-disk-logger")] - [EnvironmentVariable("NO_DISK_LOGGER")] - [Description("disable logging to disk")] + [Argument(default, "disk-logger")] + [EnvironmentVariable("DISK_LOGGER")] + [Description("ensable logging to disk")] [RequiresRestart] - public bool Disk { get; init; } = true; + public bool Disk { get; init; } = false; } /// <summary> |
