diff --git a/sample/SampleWebApp/log20250703.txt b/sample/SampleWebApp/log20250703.txt new file mode 100644 index 0000000..33930eb --- /dev/null +++ b/sample/SampleWebApp/log20250703.txt @@ -0,0 +1,8 @@ +[18:05:31] INF Clint IP: CorrelationId: Client Agent: Now listening on: http://localhost:5000 +[18:05:31] INF Clint IP: CorrelationId: Client Agent: Application started. Press Ctrl+C to shut down. +[18:05:31] INF Clint IP: CorrelationId: Client Agent: Hosting environment: Production +[18:05:31] INF Clint IP: CorrelationId: Client Agent: Content root path: /home/runner/work/serilog-enrichers-clientinfo/serilog-enrichers-clientinfo/sample/SampleWebApp +[18:05:40] INF Clint IP:127.0.0.1 CorrelationId:f6895ea2-bb8a-4780-8afe-a1ea8310b55e Client Agent:curl/8.5.0 Request starting HTTP/1.1 GET http://localhost:5000/weatherforecast - null null +[18:05:40] INF Clint IP:127.0.0.1 CorrelationId:f6895ea2-bb8a-4780-8afe-a1ea8310b55e Client Agent:curl/8.5.0 Executing endpoint 'HTTP: GET /weatherforecast' +[18:05:40] INF Clint IP:127.0.0.1 CorrelationId:f6895ea2-bb8a-4780-8afe-a1ea8310b55e Client Agent:curl/8.5.0 Executed endpoint 'HTTP: GET /weatherforecast' +[18:05:40] INF Clint IP:127.0.0.1 CorrelationId:f6895ea2-bb8a-4780-8afe-a1ea8310b55e Client Agent:curl/8.5.0 Request finished HTTP/1.1 GET http://localhost:5000/weatherforecast - 200 null application/json; charset=utf-8 108.4583ms diff --git a/src/Serilog.Enrichers.ClientInfo/Serilog.Enrichers.ClientInfo.csproj b/src/Serilog.Enrichers.ClientInfo/Serilog.Enrichers.ClientInfo.csproj index a06cc56..61243b4 100644 --- a/src/Serilog.Enrichers.ClientInfo/Serilog.Enrichers.ClientInfo.csproj +++ b/src/Serilog.Enrichers.ClientInfo/Serilog.Enrichers.ClientInfo.csproj @@ -1,6 +1,6 @@ - net8.0;net9.0 + net8.0 Serilog.Enrichers.ClientInfo Serilog latest @@ -12,7 +12,8 @@ - + + diff --git a/test/Serilog.Enrichers.ClientInfo.Tests/Serilog.Enrichers.ClientInfo.Tests.csproj b/test/Serilog.Enrichers.ClientInfo.Tests/Serilog.Enrichers.ClientInfo.Tests.csproj index dc3f541..c29571b 100644 --- a/test/Serilog.Enrichers.ClientInfo.Tests/Serilog.Enrichers.ClientInfo.Tests.csproj +++ b/test/Serilog.Enrichers.ClientInfo.Tests/Serilog.Enrichers.ClientInfo.Tests.csproj @@ -1,12 +1,12 @@  - net9.0 + net8.0 false - +