title: How can I log messages from an ASP.NET Core application to a specific file on Linux?
body: <p>I installed an ASP.NET Core application as a Linux daemon. By default .NET writes logs into <code>/var/log/message</code> but I would like the application to write its logs in a specific file and store it permanently.</p>
  <p>How I can do this? The application uses <code>Microsoft.Extensions.Logging</code>.</p>