How to monitor event logs in a Docker container?

  .net-core, asp.net-core, docker, event-log, windows

I am trying to monitor log errors that can be observed via Windows Event Viewer during debugging. However, as I publish my app to a Docker container, I need to view and monitor the logs in this container. I tried something e.g. Seq and the recommendations on several pages like How do I access Windows event log of a Docker container, but I have not managed to work them. There is no log on Windows when using Seq (I also add an admin account after setup but still no error no warning or info on the Events page.

So, what is a proper way to monitor logs from an app running on Docker container?

Source: Windows Questions

LEAVE A COMMENT