title: serilog is appending [INFO] before [ERR] even though from application, it is being logged as Error
body: <p>I have the following setup of Serilog:</p>
  <pre><code>public static class SerilogFactory
  {
      public static ILogger CreateLogger(IConfiguration configuration)
      {
          var environment = Environment.GetEnvironmentVariable(&quot;ASPNETCORE_ENVIRONMENT&quot;)?.ToLower().Replace(&quot;.&quot;, &quot;-&quot;);
          Assembly assembly = Assembly.GetExecutingAssembly();
          var assemblyName = Assembly.GetExecutingAssembly().GetName().Name.ToLower().Replace(&quot;.&quot;, &quot;-&quot;);
  
          var _elasticsearchSinkOptions = new ElasticsearchSinkOptions(new Uri(configuration[&quot;Serilog:ElasticConfiguration:Uri&quot;]))
          {
              ModifyConnectionSettings = conn =&gt; conn.BasicAuthentication(configuration[&quot;Serilog:ElasticConfiguration:UserName&quot;], configuration[&quot;Serilog:ElasticConfiguration:Password&quot;]),
              AutoRegisterTemplate = true,
              IndexFormat = $&quot;{assemblyName}-{environment}-{DateTime.UtcNow:yyyy-MM}&quot;
          };
  
          var logger = new LoggerConfiguration()
              .ReadFrom.Configuration(configuration)
              .WriteTo.Console()
              .WriteTo.Debug()
              .WriteTo.Elasticsearch(_elasticsearchSinkOptions)
              .Enrich.WithProperty(&quot;Application&quot;, assembly.GetName().Name)
              .Enrich.WithProperty(&quot;Enviroment&quot;, environment)
              .Enrich.WithProperty(&quot;Runtime&quot;, assembly.ImageRuntimeVersion)
              .Enrich.WithProcessId()
              .Enrich.WithMachineName()
              .Enrich.FromLogContext()                
              .CreateLogger();
  
          return logger;
      }
  }
  </code></pre>
  <p>This is how my Program.cs looks like:</p>
  <pre><code>public  class Program
  {
      protected Program()
      {
  
      }
      private static string ServiceName =&gt; Assembly.GetExecutingAssembly().GetName().Name;
      private static IConfigurationRoot configuration;
  
      public static void Main(string[] args)
      {
          configuration = AppConfigurationHelper.GetConfiguration();
          ResolveLogger();
  
          try
          {
              Log.Information($&quot;Starting {ServiceName}.&quot;);
              CreateHostBuilder(args).Build().Run();
              Log.Information($&quot;Shutting down {ServiceName}.&quot;);
          }
          catch (Exception ex)
          {
              Log.Fatal($&quot;Unable to start {ServiceName}.&quot;, ex);
              throw;
          }
      }
  
  
      public static IHostBuilder CreateHostBuilder(string[] args)
      {
          return Host.CreateDefaultBuilder(args)
              .ConfigureServices((hostContext, services) =&gt;
              {
                  services.AddLogging(loggingBuilder =&gt;
                  {
                      loggingBuilder.AddFilter&lt;SerilogLoggerProvider&gt;(string.Empty, LogLevel.Trace);
                      loggingBuilder.AddSerilog(Log.Logger, dispose: true);
                  });
                  services.AddOptions();
                  services.AddUserProfileWorker(configuration); 
              })
              .UseSerilog();
      }
  
      private static void ResolveLogger()
      {
          Log.Logger = SerilogFactory.CreateLogger(configuration);
      }
  }
  </code></pre>
  <p>In my local console(this is a webjob), it is logging like this:</p>
  <pre><code>[10:52:43 ERR] Error consuming 'MyCommand'
  [10:52:41 ERR] An exception occurred in the database while saving changes for context type 'MyDbContext'.
  </code></pre>
  <p>However, in the ApplicationInsights Log(Azure Webjobs), it is appending the [INFO] prior to the [ERR] like below:</p>
  <pre><code>[04/21/2022 00:24:11 &gt; c8f196: INFO] [00:24:11 ERR] Error upserting 'MyCommand'
  [04/21/2022 00:24:11 &gt; c8f196: INFO] [00:24:11 ERR] Request: Unhandled Exception for Request MyCommand {&quot;EntityToProcess&quot;: {&quot;Name&quot;: &quot;Xyz Industries&quot;}
  </code></pre>
  <p>What is going wrong in here?How can I ensure the [INFO] part is not appended prior to the [ERR]?
  Thanks in advance.</p>