aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-18 07:15:06 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-11-18 07:15:06 -0600
commitc4180ef5dce447499e76a1604d2229adbe6a47b4 (patch)
treeced312ec7c79c25a2a7ee5ec8cd7ce73b2c59102 /src/slskd/Options.cs
parenta2057d62275dd899d0249501824ef15836f057d8 (diff)
parent6b83eb2d94d91b36cd6f674bd3d12e2250e694b3 (diff)
downloadslskd-c4180ef5dce447499e76a1604d2229adbe6a47b4.tar.gz
Merge remote-tracking branch 'origin/master' into remote-config
Diffstat (limited to 'src/slskd/Options.cs')
-rw-r--r--src/slskd/Options.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 2d9bcc1e..84b160c0 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -700,6 +700,15 @@ namespace slskd
public string ContentPath { get; private set; } = "wwwroot";
/// <summary>
+ /// Gets a value indicating whether HTTP request logging should be enabled.
+ /// </summary>
+ [Argument(default, "http-logging")]
+ [EnvironmentVariable("HTTP_LOGGING")]
+ [Description("enable http request logging")]
+ [RequiresRestart]
+ public bool Logging { get; private set; } = false;
+
+ /// <summary>
/// Gets authentication options.
/// </summary>
[Validate]