diff --git a/DragonFruit.OnionFruit.Web.Worker/Program.cs b/DragonFruit.OnionFruit.Web.Worker/Program.cs index fb30c80..acf74be 100644 --- a/DragonFruit.OnionFruit.Web.Worker/Program.cs +++ b/DragonFruit.OnionFruit.Web.Worker/Program.cs @@ -55,6 +55,14 @@ private static void ConfigureHost(IConfigurationBuilder host) private static void ConfigureLogging(HostBuilderContext host, ILoggingBuilder logging) { + logging.ClearProviders(); + logging.AddSimpleConsole(o => + { + o.SingleLine = true; + o.IncludeScopes = false; + o.TimestampFormat = "[dd/MM/yyyy hh:mm:ss] "; + }); + #if WINDOWS logging.AddEventLog(o => {