question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure Functions - Disable this log - "Sending HTTP request GET https//...."

See original GitHub issue

Hi,

We make multiple http request, I don’t want to see this puke

Sending HTTP request GET https://www.some-external-api.com....

How can I disable these logs?

I tried "logging:logLevel:Microsoft.Azure.WebJobs.Script.WebHost.Middleware.SystemTraceMiddleware": "None" and it didn’t work…

For example I don’t want to see these HTTP logs that are similar to this image

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
CSaldanhacommented, Jan 18, 2023

I’m having the same issue where I am also seeing a Verbose Log message with Request headers exposing the Authorization header. Any ideas on how to suppress these log messages:

2023-01-18T20:08:09Z   [Information]   Start processing HTTP request GET <url>
2023-01-18T20:08:09Z   [Verbose]   Request Headers:
Authorization: ...    
1reaction
Yashuaacommented, Jun 7, 2022

this is .NET 6 C# Azure Function v4 (the latest)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable forced https redirection in Azure Function?
I have an azure function and I created couple rest api request via httpClient to external http api. External resource doesn't have https...
Read more >
How to stop Azure functions from logging request headers ...
I am using Azure Function v4. In the log streams of my function app, I see the request headers which contain the bearer...
Read more >
Azure Functions HTTP trigger
The HTTP trigger lets you invoke a function with an HTTP request. You can use an HTTP trigger to build serverless APIs and...
Read more >
Configure monitoring for Azure Functions
Learn how to connect your function app to Application Insights for monitoring and how to configure data collection.
Read more >
Guide for running C# Azure Functions in an isolated worker ...
Learn how to use a .NET isolated worker process to run your C# functions in Azure, which supports non-LTS versions of .NET and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found