aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-08-29 16:01:07 -0500
committerJP Dillingham <jp@dillingham.me>2022-08-29 16:01:07 -0500
commitd7520caa80629ea0821d936ebf2f236e14f89abe (patch)
treec18afa5445065a99e4a5c1d990189e5f39a88dfb
parente7cc66ec61dd6d6aeee2079d69afb257734a3df0 (diff)
downloadslskd-d7520caa80629ea0821d936ebf2f236e14f89abe.tar.gz
tweaks
-rw-r--r--src/slskd/Program.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index df9be4eb..8621a584 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -681,11 +681,11 @@ namespace slskd
var options = OptionsAtStartup.Metrics;
var url = options.Url.StartsWith('/') ? options.Url : "/" + options.Url;
- Log.Information($"Publishing Prometheus metrics to {url}");
+ Log.Information("Publishing Prometheus metrics to {URL}", url);
if (options.Authentication.Disabled)
{
- Log.Warning("Authentication of metrics endpoint is DISABLED");
+ Log.Warning("Authentication for the metrics endpoint is DISABLED");
}
endpoints.MapGet(url, async context =>
@@ -729,7 +729,7 @@ namespace slskd
app.UseSwaggerUI(options => app.Services.GetRequiredService<IApiVersionDescriptionProvider>().ApiVersionDescriptions.ToList()
.ForEach(description => options.SwaggerEndpoint($"{(urlBase == "/" ? string.Empty : urlBase)}/swagger/{description.GroupName}/swagger.json", description.GroupName)));
- Log.Information("Publishing Swagger documentation to /swagger");
+ Log.Information("Publishing Swagger documentation to {URL}", "/swagger");
}
// if we made it this far, the caller is either looking for a route that was synthesized with a SPA router, or is genuinely confused.