Using Linux App Service on Azure. How do I view the logs (app/console logs and HTTP request logs) for a particular time in the past?
In other logging apps I can enter a search term, or a time and jump straight to that point to view the logs for that point (and before and after). That's what I'd like to do for Azure.
You need to set WEBSITE_TIME_ZONE variable in Application settings.
Supported timezone values are https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
https://docs.microsoft.com/en-us/azure/app-service/faq-configuration-and-management
You can verify Time by navigating to Console
and executing time
command enter
If you want to search in logs you may download them in txt file into local machine or send the logs to Azure Log Analytics and query them using query language filters
| where TimeGenerated xxx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.