title: How to configure Serilog to use a log4net sink?
body: <p>Until now I was using a log4net logger that was configured on start of the application:</p>
  
  <pre><code>log4net.GlobalContext.Properties["LogRoot"] = @"../logs";
  var log4netConfigFile = AppDomain.CurrentDomain.BaseDirectory + @"\log4net.config";
  log4net.Config.XmlConfigurator.ConfigureAndWatch(new FileInfo(log4netConfigFile));
  </code></pre>
  
  <p>The code above ensured the log to be written in ../logs folder using configuration file log4net.config</p>
  
  <p>Now I am beginning using Serilog and would like to keep the current log4net logging, but controlled from Serilog that has a dedicated log4net sink. So I kept the code above and wrote the following additional code:</p>
  
  <pre><code>var logger = new Serilog.LoggerConfiguration()
      .WriteTo.ColoredConsole()
      .WriteTo.Log4Net()
      .CreateLogger();
  </code></pre>
  
  <p>I see that the log file is created on application startup, but no longer are written as long as I am using Serilog logger.</p>
  
  <p>Shouldn't Serilog use log4net configuration with its log4net sink?</p>