aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/config.md4
-rw-r--r--src/slskd/Core/Options.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/config.md b/docs/config.md
index d811c0e0..d864458b 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -1351,7 +1351,7 @@ instance_name: default
## Logging Options and Configurable Loggers
-By default, the application logs to console with colors enabled. Logging to disk is optional, and if enabled, logs will be written to `/logs` in the application directory.
+By default, the application logs to console with colors enabled, and to files in the `/logs` subdirectory of the application directory with extended timestamps and colors disabled.
Console colors can be disabled via typical application configuration described below, or by setting the environment variable `NO_COLOR` in accordance with https://no-color.org/.
@@ -1372,7 +1372,7 @@ The current list of available targets is:
```yaml
logger:
loki: ~
- disk: false
+ no_disk: false
no_color: false
```
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index f278d895..05eaed57 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1500,8 +1500,8 @@ namespace slskd
/// <summary>
/// Gets the time to retain logs, in days.
/// </summary>
- [Range(7, maximum: int.MaxValue)]
- public int Logs { get; init; } = 30;
+ [Range(2, maximum: int.MaxValue)]
+ public int Logs { get; init; } = 14;
/// <summary>
/// Transfer retention options.