You can get the detailed Docker engine log messages from your web service deployment. You can view the logs for local, ACI, and AKS deployments.

For example, if your web service deployment fails, you can inspect the logs to help troubleshoot.

get_webservice_logs(webservice, num_lines = 5000L)

Arguments

webservice

The LocalWebservice, AciWebservice, or AksWebservice object.

num_lines

An int of the maximum number of log lines to retrieve.

Value

A string of the logs for the web service.