Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
333 stars 103 forks source link

Logging improvements #1228

Closed gavin-aguiar closed 1 year ago

gavin-aguiar commented 1 year ago

Description

Added a few logging improvements which should improve cold starts.

Fixes #


PR information

Quality of Code and Contribution Guidelines

codecov[bot] commented 1 year ago

Codecov Report

Merging #1228 (be9caae) into dev (4a9a38e) will decrease coverage by 51.99%. The diff coverage is 0.00%.

:exclamation: Current head be9caae differs from pull request most recent head 78dc021. Consider uploading reports for the commit 78dc021 to get more accurate results

@@             Coverage Diff             @@
##              dev    #1228       +/-   ##
===========================================
- Coverage   83.97%   31.98%   -51.99%     
===========================================
  Files          34       34               
  Lines        1903     1904        +1     
  Branches      366      365        -1     
===========================================
- Hits         1598      609      -989     
- Misses        234     1294     +1060     
+ Partials       71        1       -70     
Flag Coverage Δ
unittests 31.98% <0.00%> (-51.94%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
azure_functions_worker/dispatcher.py 19.39% <0.00%> (-69.75%) :arrow_down:
azure_functions_worker/utils/dependency.py 33.08% <0.00%> (-53.39%) :arrow_down:

... and 22 files with indirect coverage changes