diff --git a/Server/Program.cs b/Server/Program.cs index 9316528..058b495 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -14,6 +14,7 @@ ILoggerFactory loggerFactory = LoggerFactory.Create(builder => { options.ColorBehavior = Microsoft.Extensions.Logging.Console.LoggerColorBehavior.Enabled; options.TimestampFormat = "[HH:mm:ss]"; + options.IncludeScopes = true; }); builder.AddFile("Logs/log-{0:yyyy}-{0:MM}-{0:dd}.txt", opts => opts.FormatLogFileName = fileName => String.Format(fileName, DateTime.UtcNow));