projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to retrieve detail log

stpetzinger opened this issue · comments

The Uri to retrieve the logs for the deployment work fine, but the Uri to retrieve the detailed log entries from the deployment returns Not Found.

Repro steps.

  • Deploy a function app using zip deploy.
  • Go to https://<your scm uri>/api/deployments to list the deployments
  • Take an id from the list (say 'xxxxxxxxxxxxxx') and Go to https://<your scm uri>/api/deployments/xxxxxxxxxxxxxx/log to retrieve logs from a specific deployment
  • Take an id from the list (say 'yyyyyyyyyyyyy') and Go to https://<your scm uri>/api/deployments/xxxxxxxxxxxxxx/log/yyyyyyyyyyyyy to retrieve the detailed logs. This returns "Message": "LogId 'yyyyyyyyyyyyyyyyyyyyyyy' was not found in Deployment 'xxxxxxxxxxxxxxxxxxxxxxx'."

Maybe I'm doing something wrong; if so, kindly point me in the right direction. Thanks.

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano
Azure App Service