Azure-docs: Does this collect Middleware (e.g. EasyAuth) logs?

Created on 4 Dec 2020  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Hi Team,

Just a small question here, is this SDK intended to (or somehow can) collect logs that are coming from Middleware containers (i.e. Easy Auth)? Or it only collects the Application Logs (stdout/stderr).

We can find the Easy Auth logs in Kudu site under LogFiles directory, however, wondering if it should be sent to Application Insights and/or Log Analytics.

Will it, by default, be treated same as the application logs?
Or do we need a special handling to do so?
Or it is not even possible (considered it's related to platform/middlware layer).

Thanks!


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Azure-Monitosvc application-insightsubsvc cxp product-question triaged

All 3 comments

@saifbadran9
Thanks for your feedback! We will investigate and update as appropriate.

@saifbadran9

Hey thanks for taking interest in our SDK.

collect logs that are coming from Middleware containers

What do you mean by logs? Are you referring to having distributed tracing telemetry generated from these "Middleware containers"? Or are you referring to capturing actual "logs" (which refers to use the standard Python logging library) being sent WITHIN these "Middleware containers"?

For the former, distributed tracing will only be collected for supported libraries through Opencensus extensions. Here's a list of extensions that are supported by Opencensus Python.

For the latter, any service/library/application that logs using the Python standard logging library, these logs can be captured using Opencensus Python SDK if the calling application instrumented with the SDK, and sent to App Insights.

Thanks for the response, @lzchen.

@saifbadran9 - Kindly review the SME's comment above and let us know if you have any follow-up questions. we will now close this issue but don't hesitate to ping if if needed.

Cheers.

Was this page helpful?
0 / 5 - 0 ratings