Seeing discrepancy in logs between app insights and log stream in durable func app using python.

asked 2022-06-21T09:51:29.71+00:00
Priyanka Chaudhari 1 Reputation point

It was working as expected previously.
From past 15-20 days, I am seeing discrepancy in logs between app insights and log stream in durable func app using python.

Following steps I am following before triggering durable azure func app:

  • Clear storage, queue and tables.
  • Restart func app
  • Wait for 5 mins to start fun app
  • Trigger azure durable func app.

In this azure durable func app, Httpstart is async and orchestrator and activity are normal functions.

In python for writing logs in app insights do we have any package? Currently I am writing using logging lib.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,576 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2022-07-04T14:09:23.44+00:00
    MughundhanRaveendran-MSFT 11,606 Reputation points Microsoft Employee

    @Priyanka Chaudhari ,

    It would be helpful if you could provide some more information about the discrepancy that you are seeing in logs between the app insights and log stream. It is recommended to use the logging library in python for logging purposes.

    Are you facing this discrepancy with the File system log stream or the App insights log stream? Please let me know

    217370-image.png

    No comments