From 6c213f29acc09dc970099860f3282ee9742b6264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Sa=CC=88rkikoski?= Date: Tue, 4 Mar 2025 09:18:47 +0200 Subject: [PATCH] Remove HTTP logging from development configuration. Update UserSecretsId --- aspnetcore/src/Indexer/appsettings.Development.json | 9 --------- aspnetcore/src/Interface/Interface.csproj | 2 +- .../src/Interface/appsettings.Development.json | 13 ++----------- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/aspnetcore/src/Indexer/appsettings.Development.json b/aspnetcore/src/Indexer/appsettings.Development.json index c98d0c6b..df164c07 100644 --- a/aspnetcore/src/Indexer/appsettings.Development.json +++ b/aspnetcore/src/Indexer/appsettings.Development.json @@ -21,15 +21,6 @@ "Args": { "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}" } - }, - "HttpSink": { - "Name": "Http", - "Args": { - "requestUri": "http://localhost:9991", - "httpClient": "CSC.PublicApi.Logging.BasicAuthenticationHttpClient, CSC.PublicApi.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", - "textFormatter": "Serilog.Sinks.Http.TextFormatters.WoodLogMetadataFormatterForIndexer, CSC.PublicApi.Logging", - "queueLimitBytes": null - } } }, "Enrich": [ diff --git a/aspnetcore/src/Interface/Interface.csproj b/aspnetcore/src/Interface/Interface.csproj index b81cf6ed..4cc8b801 100644 --- a/aspnetcore/src/Interface/Interface.csproj +++ b/aspnetcore/src/Interface/Interface.csproj @@ -13,7 +13,7 @@ $(NoWarn);1591 CSC.PublicApi.$(MSBuildProjectName.Replace(" ", "_")) CSC.PublicApi.$(MSBuildProjectName) - 4f740bea-0188-43cc-ae56-7b5017862261 + b73bde99-06bf-406c-8e60-eb475cb00acc diff --git a/aspnetcore/src/Interface/appsettings.Development.json b/aspnetcore/src/Interface/appsettings.Development.json index 2af47f97..6adbdabd 100644 --- a/aspnetcore/src/Interface/appsettings.Development.json +++ b/aspnetcore/src/Interface/appsettings.Development.json @@ -22,15 +22,6 @@ "Args": { "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}][{ClientId}, {ClientIp}, {ClientAgent}, {QueryString}]: {Message}{NewLine}{Exception}" } - }, - "HttpSink": { - "Name": "Http", - "Args": { - "requestUri": "http://localhost:9991", - "httpClient": "CSC.PublicApi.Logging.BasicAuthenticationHttpClient, CSC.PublicApi.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", - "textFormatter": "Serilog.Sinks.Http.TextFormatters.WoodLogMetadataFormatterForInterface, CSC.PublicApi.Logging", - "queueLimitBytes": null - } } }, "Enrich": [ @@ -59,7 +50,7 @@ "requirehttpsmetadata": "false" }, "OpenApiSettings": { - "BasePath": "api/rest", - "HttpScheme": "https" + "BasePath": "", + "HttpScheme": "http" } }