App Service Web server logs Retention policy cannot be changed RRS feed

  • Question

  • I have been analyzing web server logs in Azure WebJob. It downloads them, analyze them and creates a recommendation model. It worked for 2 years. Recently I turned application logs off and on several times. Then I noticed that web server logs retention policy is set to 7 days. When I changed it to 0 or 99999 and it was saved successfully. However when I returned back to the settings the retention policy was set to 7 days again. I cannot change it even to 8 days. I tried both Azure Portal and Azure Resource Explorer. It looks like some internal proces in Azure is constantly setting the retention policy to 7 days. This bug deleted all my logs from Azure Storage because they are much older than 7 days.
    Thursday, November 16, 2017 9:25 PM