Skip to content

Commit

Permalink
removed serilog
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianS93 committed Nov 28, 2023
1 parent ab70210 commit b6fe83a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions GirafAPI/Setup/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
using Microsoft.OpenApi.Models;
using Serilog;
using Swashbuckle.AspNetCore.SwaggerUI;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -232,9 +231,6 @@ public void Configure(
{
app.UseIpRateLimiting();

//Configure logging for the application
appLifetime.ApplicationStopped.Register(Log.CloseAndFlush);

app.UseStatusCodePagesWithReExecute("/v1/Error", "?statusCode={0}");
// Enable Cors, see configuration in ConfigureServices
app.UseCors("AllowAll");
Expand Down

0 comments on commit b6fe83a

Please sign in to comment.