Browse Source

fix serilog error

pull/2012/head
Tarun Jain 2 years ago
parent
commit
c10fff488c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Services/Identity/Identity.API/Program.cs

+ 1
- 1
src/Services/Identity/Identity.API/Program.cs View File

@ -63,7 +63,7 @@ Serilog.ILogger CreateSerilogLogger(IConfiguration configuration)
.Enrich.FromLogContext() .Enrich.FromLogContext()
.WriteTo.Console() .WriteTo.Console()
.WriteTo.Seq(string.IsNullOrWhiteSpace(seqServerUrl) ? "http://seq" : seqServerUrl) .WriteTo.Seq(string.IsNullOrWhiteSpace(seqServerUrl) ? "http://seq" : seqServerUrl)
.WriteTo.Http(string.IsNullOrWhiteSpace(logstashUrl) ? "http://localhost:8080" : logstashUrl)
.WriteTo.Http(string.IsNullOrWhiteSpace(logstashUrl) ? "http://localhost:8080" : logstashUrl,null)
.ReadFrom.Configuration(configuration) .ReadFrom.Configuration(configuration)
.CreateLogger(); .CreateLogger();
} }


Loading…
Cancel
Save