From d7520caa80629ea0821d936ebf2f236e14f89abe Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 29 Aug 2022 16:01:07 -0500 Subject: tweaks --- src/slskd/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/slskd/Program.cs') 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().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. -- cgit v1.2.3