aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-13 16:40:10 -0600
committerGitHub <noreply@github.com>2021-11-13 16:40:10 -0600
commit2aebad636b3ad89090e9f563e79ff8194cf5f78d (patch)
tree0d3adb39846ba65f9dfdfffd51d8f6c065d150f6 /src/slskd/Options.cs
parentd12b421a66becff8fa757bce363a9e874275c9c2 (diff)
parent27c43ffa6c33520fa65e6fce48f8637ce69c7948 (diff)
downloadslskd-2aebad636b3ad89090e9f563e79ff8194cf5f78d.tar.gz
Merge branch 'master' into user-info-picture
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 71c341e9..0d487cc2 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -692,6 +692,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]