Azure / Azure/azure-functions-core-tools
Functions debug console doesn't show Debug or Trace levels
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 13
Description
When running a function locally, the console only outputs Info and higher logs. If I log a Debug or a Trace it does not come out in the console. How can we control what the local console outputs? We need to see our Debug and Trace logging locally.
I think it is from this line `(cat, level) => level >= LogLevel.Information` in https://github.com/Azure/azure-functions-core-tools/blob/master/src/Azure.Functions.Cli/Diagnostics/LoggingBuilder.cs
Contributor guide
Research direction
Start in src/Azure.Functions.Cli/Diagnostics/LoggingBuilder.cs at the level filter identified in the issue. Trace how local console logging is configured and verify that Debug and Trace entries are emitted without suppressing the existing levels; done means both levels appear when running a function locally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100