Hi @Srikanth Gorantla , for Windows App Service, you can send Application log and
Web Server log to Azure Storage Blob. More info: Azure App Service Log Overview
The Filesystem option is for temporary debugging purposes, and turns itself off in 12 hours. The Blob option is for long-term logging, and needs a blob storage container to write logs to. The Blob option also includes additional information in the log messages, such as the ID of the origin VM instance of the log message (InstanceId
), thread ID (Tid
), and a more granular timestamp (EventTickCount
).
Retention period applies to logs sent to Blob. It's essentially creating a lifecycle management policy for the Blob. Please note that when you configure a policy, it can take up to 24 hours to go into effect. Once the policy is in effect, the time taken for actions to run may vary depending on the size of the storage account and the operations performed.
If you set retention period = 0, the logs will be deleted when the lifecycle management policy runs on the Blob, the exact time can't be determined.
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.