I have a .NET core app running in Azure App service windows instance. I have enabled the logs for my application in "App service Logs" configuration with the log level as Verbose. But the application logs are not showing up in the log stream nor in the /LogFiles/Application folder in Azure app. However, when I deploy the same application to App service in Linux, I can see the logs under LogFiles folder.
I am not sure why the logs for the same application/code work differently in AAS on windows vs Linux. Am I missing any configuration?
I also tried installing "ASP.NET Core Logging Integration" extension on AAS running on windows, I could see other MS logs but not the application logs. Again, this is only happening on AAS Windows.
Update: It seems like a known issue for .NET core 3.1. I came across the following links that is recommending to use ILogger;