Azure / Azure/azure-functions-host
Improve logging of loaded functions when hosted
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
#### What problem would the feature you're requesting solve? Please describe.
When debugging locally with the Core Tools, you get a clear log of what Functions are loaded, as well as the endpoint for any HTTP triggers:
```
Functions:
Function1: [GET,POST] http://localhost:7001/api/Function1
BlobFunction: blobTrigger
Function: timerTrigger
```
This is handy as a spot check. However, there isn't really an equivalent when deployed as service. Some information is logged about listeners, and for HTTP triggers there's a bit more, but these tend to be scattered, and there isn't a clear way to just get the list of Functions that were loaded.
#### Describe the solution you'd like
A log or sequence of logs should inform the user of each function that was loaded, as well as its trigger type.
#### Describe alternatives you've considered
Other methods can be used as well (such as the endpoints to list functions), but this is diagnostic information which should be available when troubleshooting issues with a given function loading, etc.
Contributor guide
Research direction
Start by tracing how hosted listener information is currently logged, then compare it with the Core Tools function listing shown in the issue. Identify where loaded functions and trigger types become available in the hosted service. Done means deployed applications clearly log each loaded function and its trigger type without relying on scattered listener messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100