Skip to content

Back End Team Task #192 GET Machines Logging Config (Debug, Info, Error)

Kiki Mac edited this page Mar 9, 2020 · 2 revisions

GET Machines + Logging + Config (Debug, Info and Error) #192

Task: https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/issues/192

Requirements: Azure Subscription, Postman

Step 1: Open Postman program

Step 2: Go to File > New > Request

Step 3: Change drop down to GET

Step 4: Make sure Params is selected

Step 5: Paste the Azure Function App URL https://kiara-fun-feat-usw2-task155.azurewebsites.net/api/getMachine?code=14B1U2/gQPU6sRlIfwDt2iaVsaSCfTuccDvM1YgEDAbQrDzLQjWQyQ== in text box next to GET button

Step 6: Click the green Send button and you will see the data from the machines table in JSON format.

Step 7: Log into your Azure portal

Step 8: Click on Resource Groups and search for Kiara-rg-fun-usw2-task155

Step 9: Click on Kiara-rg-fun-usw2-task155 resource group

Step 10: On the left hand side click on Monitor

Step 11: Click on the most recent test to see the Invocation Details and you will see the logging messages.

Clone this wiki locally