Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

How to enable logging

Don Glover edited this page Jun 5, 2017 · 3 revisions

Logging uses the Application Insights service. When you run the service, stdin, stdout, and stderr are captured in the log. It takes five to ten minutes for the logs to show up in the portal.

You must have at least contributor access in the subscription your are using for operationalization.

To enable logging, use the -l parameter when you the create service:

az ml service create realtime -f testing.py -m housing.model -s webserviceschema.json -n mytestapp -l

To view the logs:

  1. Sign into the Azure portal.
  2. Click More Services.
  3. In the search box, type app insights and press Enter.
  4. From the Application Insights search blade, select the Application Insights resource. The name of the service is constructed by taking the resource group name you specified when setting up your machine learning environment and appending "_ins" to it.