title: Serilog console when running as systemd
body: <p>I have a .Net core 5.0 application that uses the Serilog console sink to log. A part of the application starts a Prometheus metrics endpoint, this part is not integrated with Serilog and prints also to console.</p>
  <p>When running as a docker both serilog and the endpoint prints to console.</p>
  <p>When I install as a systemd service in ubuntu 20.04 LTS I see only the Prometheus logs, no Serilog.</p>
  <p>app.service</p>
  <pre><code>[Unit]
  Description=App1
  Wants=network-online.target
  After=network-online.target
  
  [Service]
  User=appuser
  Group=appuser
  WorkingDirectory=/usr/local/bin/app
  EnvironmentFile=/usr/local/bin/app/app.env
  ExecStart=dotnet /usr/local/bin/app/app.dll
  Restart=always
  
  [Install]
  WantedBy=multi-user.target
  </code></pre>
  <p>Running <code>journalctl -f -u app</code> shows only the Prometheus logs. Is there a way to configure serilog to work with systemd?</p>