Azure / Azure/azure-functions-core-tools

How to enable Azure Functions Core Tools HTTP logging under ubuntu

Open
#2,417 1 comment 8 reactions 0 assignees View on GitHub
feature
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

Hi All,

I suspect I have connectivity issues from the .NET Core parts of the core tools and it would seem the CLI_DEBUG flag doesn't enable much in the way of console outputs in the area of SCM connectivity (request/responses).

Is there any blog, documentation that shows how to enable the HTTP tracing/logs from specifically the places such as: https://github.com/Azure/azure-functions-core-tools/blob/2f5369afbdeb3e9ded70dccc93388f2b186b2093/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs#L525

In a Vanilla .NET application one would enable these logs as following:
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-configure-network-tracing

but what's the equivalent location for the ".config" or the resulting log files?

Contributor guide

Open the contributing guide

Research direction

Start with src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs around line 525 and compare the existing CLI_DEBUG behavior with the linked .NET network-tracing guidance. Document the Ubuntu configuration location and resulting HTTP log location, if supported, so users can trace SCM requests and responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cli, cloud
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.