Azure / Azure/azure-functions-host

JobHostServiceProvider.cs Debug message not using ILogger

Open
#4,380 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Can the `Debug.WriteLine(serviceType.Name);` be removed or changed to use ILogger, so it can be filtered out?

https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/DependencyInjection/JobHostServiceProvider.cs: LN99

Contributor guide

Open the contributing guide

Research direction

Open src/WebJobs.Script.WebHost/DependencyInjection/JobHostServiceProvider.cs at line 99 and inspect the Debug.WriteLine(serviceType.Name) call in its surrounding code. Remove it or change it to use ILogger so the message can be filtered, then verify the resulting logging behavior matches the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
observability
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.