Azure / Azure/azure-functions-core-tools

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

Open
#3,059 31 comments 5 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

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](https://user-images.githubusercontent.com/45955479/170302096-617d8a9f-4bab-41d3-a327-802db972bbc5.png)

Contributor guide

Open the contributing guide

Research direction

Start with Microsoft.Azure.WebJobs.Script.WebHost.Middleware.SystemTraceMiddleware and the logging:logLevel configuration shown in the issue, then review the 31-comment discussion for the current conclusion. Done means establishing a supported way to suppress these HTTP request logs, or documenting why the attempted setting does not apply.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.