aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-06-19 19:27:58 -0500
committerJP Dillingham <jp@dillingham.me>2025-06-19 19:27:58 -0500
commitbe947ef10e44d96ff795a312da4d6f7ea10bad68 (patch)
tree3bd1af16f8d43ea5b83b23b5feec148fd1be8351 /src
parent99d510d1d3fe4daf9e2ada01432e6fd68b3a1c96 (diff)
downloadslskd-be947ef10e44d96ff795a312da4d6f7ea10bad68.tar.gz
tweak logging of diagnostics
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index e0570ef6..6ed8a9d4 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -808,8 +808,9 @@ namespace slskd
{
static LogEventLevel TranslateLogLevel(DiagnosticLevel diagnosticLevel) => diagnosticLevel switch
{
+ DiagnosticLevel.Trace => LogEventLevel.Verbose,
DiagnosticLevel.Debug => LogEventLevel.Debug,
- DiagnosticLevel.Info => LogEventLevel.Debug,
+ DiagnosticLevel.Info => LogEventLevel.Information,
DiagnosticLevel.Warning => LogEventLevel.Warning,
DiagnosticLevel.None => default,
_ => default,