1

I'm using a FunctionApp that sends telemetries of type Trace, Event and Exception to Application Insights. I've noticed that most of the logs are generated by the FunctionAPP sdk itself.

Is there a way to limit these kind of logs and left only the logs tracked via the TrackTrace, TrackException and TrackEvent method call?

user2896152
  • 762
  • 1
  • 9
  • 32

1 Answers1

0

Thank you Peter Bons and tiny-wa posting your comment section discussion as answer which would be helpful for other community members

You can use the Log Levels and Categories when you write traces from your application code. Reference : https://learn.microsoft.com/en-us/azure/azure-functions/functions-monitoring?tabs=cmd#log-levels-and-categories

Assigning logged items to a category, will have control over telemetry generated from specific sources in function app. Categories make it easier to run analytics over collected data. Traces written from function code are assigned to individual categories based on the function name. Learn more about configuring Categories

More discussion on similar issue can be referred here

Madhuraj Vadde
  • 1,099
  • 1
  • 5
  • 13