@Michael Priven we are sorry you're facing this issue.
There are a few reasons why the web job history page might not be displaying historical data and only showing the latest log in Azure App Service. firstly, Web jobs history data retention is configurable. It's possible that the retention period has been set to a very short duration, resulting in only the latest log being displayed. secondly, if your web app is integrated with Azure Monitor logs, the web job history might not be displayed in the App Service user interface. Logs might be available in Azure Monitor logs instead. Also, the logging level for your web jobs might be set to only capture the latest execution. Verify that the logging level is configured to capture historical data.
Here are a few Troubleshooting Steps:
- Check Retention Settings:
- Access your web app in the Azure portal. Go to the "Configuration" section and look for settings related to web job history retention.
- Increase the retention period if it's currently set to a short duration.
- Verify Azure Monitor Logs Integration:
- If your web app is integrated with Azure Monitor logs, access the logs in Azure Monitor.
- Web job history data might be stored there instead of the App Service UI.
- Examine Logging Configuration:
- Review your web job code or configuration files to ensure the logging level is set to capture historical data
hope that helps
-Grace