An administrator configures application logging for an Azure App Service web app named WebApp1. The administrator enables Application Logging (Filesystem) and sets the level to Information.
Two days later, the administrator notices that application logs are no longer being generated, even though the application is actively processing requests. Other web server logs continue to be written.
What is the most likely cause of this behavior?
- AThe App Service plan scaled in, which deleted the virtual machine instance storing the active log files.
- BThe Storage Account SAS token used for the diagnostic settings expired after 24 hours.
- The Application Logging (Filesystem) setting was automatically disabled after 12 hours.Cevap
- DThe Log Analytics workspace linked to the App Service reached its daily ingestion cap.
Cevap
The Application Logging (Filesystem) setting was automatically disabled after 12 hours.
The correct answer is correct because Azure App Service Application Logging (Filesystem) is explicitly designed for temporary troubleshooting. To prevent local disk space exhaustion, Azure automatically disables this setting exactly 12 hours after it is enabled.
Adım Adım Çözüm
Anahtar Kavram
Azure App Service Application Logging Lifecycle
Tahmini Süre:1m 30s