Where do logs go when running ASP.NET Core on IIS 7.5?
You must make sure the log folder exists! IIS won't make it for you. Such a simple solution to this infuriating problem.
You could probably check the Event Viewer on your machine -> Application to see if there are any errors logged, which could explain why your log files aren't being generated.
However, the most probable reason is that IIS doesn't have a permission to write to that log folder.
- Right click on the folder -> Security
- Ensure that IIS_IUSRS user has the following permissions: read and execute, list, write (potentially write is missing by default)