why web jobs history page is not displayed

Michael Priven 5 Reputation points
2024-06-26T14:20:42.43+00:00

Wen jobs history page is not getting displayed. Instead only the latest log is provided. Why web jobs history disappeared?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,317 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
836 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,366 Reputation points
    2024-06-26T17:01:02.05+00:00

    @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

    0 comments No comments