diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-11-04 16:42:10 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-11-04 16:42:10 -0500 |
| commit | 540f1d24aa9625651c45d00cf5458392872ada1f (patch) | |
| tree | d73d5a8fae65cff9cd27f36a04196f77a540a460 /docs | |
| parent | 8438098eb54bb586733bdeff8d675fed9f3744e8 (diff) | |
| download | slskd-540f1d24aa9625651c45d00cf5458392872ada1f.tar.gz | |
add option to disable disk logging
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/config.md b/docs/config.md index c6325cfd..bd4cc124 100644 --- a/docs/config.md +++ b/docs/config.md @@ -838,18 +838,22 @@ instance_name: default ## Loggers -By default, the application logs to disk (`/logs` in the application directory). Logs can optionally be forwarded to external services, and the targets can be expanded to any service supported by a [Serilog Sink](https://github.com/serilog/serilog/wiki/Provided-Sinks). Support for targets is added on an as-needed basis and within reason. +By default, the application logs to console and to disk (`/logs` in the application directory); disk logging can be disabled. + +Logs can optionally be forwarded to external services, and the targets can be expanded to any service supported by a [Serilog Sink](https://github.com/serilog/serilog/wiki/Provided-Sinks). Support for targets is added on an as-needed basis and within reason. The current list of available targets is: -| Command Line | Environment Variable | Description | -| ------------ | -------------------------- | ---------------------------------- | -| `--loki` | `SLSKD_LOKI` | The URL to a Grafana Loki instance | +| Command Line | Environment Variable | Description | +| ------------------ | -------------------------- | ---------------------------------- | +| `--loki` | `SLSKD_LOKI` | The URL to a Grafana Loki instance | +| `--no-disk-logger` | `SLSKD_NO_DISK_LOGGER` | Disable logging to disk | #### **YAML** ```yaml logger: loki: ~ + disk: true ``` ## Metrics |
