Skip to content

Commit dde767a

Browse files
committed
Added diagnostic logs screenshots
1 parent c570808 commit dde767a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Loading
Loading

articles/app-service/tutorial-python-postgresql-app-fastapi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ With the PostgreSQL database protected by the virtual network, the easiest way t
303303

304304
## 6. Stream diagnostic logs
305305

306-
yThe sample app uses the Python Standard Library logging module to help you diagnose issues with your application. The sample app includes calls to the logger as shown below.
306+
The sample app uses the Python Standard Library logging module to help you diagnose issues with your application. The sample app includes calls to the logger as shown below.
307307

308308
:::code language="python" source="~/msdocs-fastapi-postgresql-sample-app/src/fastapi_app/app.py" range="39-46" highlight="3":::
309309

@@ -315,15 +315,15 @@ yThe sample app uses the Python Standard Library logging module to help you diag
315315
1. In the top menu, select **Save**.
316316
:::column-end:::
317317
:::column:::
318-
:::image type="content" source="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-1.png" alt-text="A screenshot showing how to enable native logs in App Service in the Azure portal." lightbox="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-1.png":::
318+
:::image type="content" source="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-1-fastapi.png" alt-text="A screenshot showing how to enable native logs in App Service in the Azure portal." lightbox="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-1-fastapi.png":::
319319
:::column-end:::
320320
:::row-end:::
321321
:::row:::
322322
:::column span="2":::
323323
**Step 2:** From the left menu, select **Log stream**. You see the logs for your app, including platform logs and logs from inside the container.
324324
:::column-end:::
325325
:::column:::
326-
:::image type="content" source="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-2.png" alt-text="A screenshot showing how to view the log stream in the Azure portal." lightbox="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-2.png":::
326+
:::image type="content" source="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-2-fastapi.png" alt-text="A screenshot showing how to view the log stream in the Azure portal." lightbox="./media/tutorial-python-postgresql-app-fastapi/azure-portal-stream-diagnostic-logs-2-fastapi.png":::
327327
:::column-end:::
328328
:::row-end:::
329329

0 commit comments

Comments
 (0)