diff --git a/OF DL/Program.cs b/OF DL/Program.cs index cda208b..e7b3f7c 100644 --- a/OF DL/Program.cs +++ b/OF DL/Program.cs @@ -112,6 +112,7 @@ public class Program levelSwitch.MinimumLevel = LogEventLevel.Error; //set initial level (until we've read from config) Log.Logger = new LoggerConfiguration() + .Enrich.FromLogContext() .Enrich.WithProperty("Application", "OF_DL") .Enrich.WithProperty("StartTime", $"{DateTime.Now:yyyy-MM-dd HH:mm:ss} ") .Enrich.WithProperty("MachineName", Environment.MachineName)