Azure / Azure/azure-functions-host

Extra logging dlls should not be loaded when AzureWebJobsDashboard is not set.

Open
#7,261 3 comments 0 reactions 1 assignee Claimed by @soninaren View on GitHub
perf: cold-start
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

This will have an impact on cold start.

Also need to make sure no logger activity writes to storage when it's not expected to.

From email thread:

Just debugging locally, without any dashboard setting, if I put a breakpoint in FunctionInstanceLogCollectorProvider.Create, it will hit and if I step over I see:

'Microsoft.Azure.WebJobs.Script.WebHost.exe' (CoreCLR: clrhost): Loaded 'D:\code\azure-functions-host\src\WebJobs.Script.WebHost\bin\Debug\netcoreapp3.1\Microsoft.Azure.Cosmos.Table.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Microsoft.Azure.WebJobs.Script.WebHost.exe' (CoreCLR: clrhost): Loaded 'D:\code\azure-functions-host\src\WebJobs.Script.WebHost\bin\Debug\netcoreapp3.1\Microsoft.Azure.WebJobs.Logging.dll'.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.