'Azure Web App for Linux (Container) HTTP logs stop being provided

I've got an Azure Web App for Linux (Container) running and I have setup Diagnostic Settings so that AppServiceHTTPLogs are exposed and I also set Application logging under App Service Logs to Filesystem. I can view and query them in the Logs under the Monitoring section of the Web App settings.

This works fine for a few days but then it just stops logging. At first I thought it was a space issue, so I changed the quota from 35mb to 100mb, and it started logging again. Then a day later it stopped logging again, so I changed the retention from 7 days to 1 day. It started logging again. Now it has stopped and I can't go higher than 100mb or lower than 1 day. Additionally, when I look at the Filesystem storage used it's only sitting at a few megabytes.

I have no idea why it just stops logging. Has anyone experienced this?

EDIT: As a wild experiment I just set the retention days back to 7, and low and behold it started logging again. It's as if it's just seeking attention.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source