Skip to content

Commit 8a25fe9

Browse files
committed
Enable HTTP logger
1 parent 743bd78 commit 8a25fe9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/azure-cli-core/HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Release History
55

66
2.0.28
77
++++++
8-
* Minor fixes
8+
* Enable HTTP logging with --debug
99

1010
2.0.27
1111
++++++

src/azure-cli-core/azure/cli/core/commands/client_factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def get_subscription_service_client(cli_ctx):
4545
def configure_common_settings(cli_ctx, client):
4646
client = _debug.change_ssl_cert_verification(client)
4747

48+
client.config.enable_http_logger = True
49+
4850
client.config.add_user_agent(UA_AGENT)
4951
try:
5052
client.config.add_user_agent(os.environ[ENV_ADDITIONAL_USER_AGENT])

0 commit comments

Comments
 (0)