Azure / Azure/azure-rest-api-specs

Az sdk MCP server: Support an option to change log level

Open
#39,157 0 comments 0 reactions 1 assignee Claimed by @praveenkuttappan View on GitHub
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

CLI command does not support an option to change log level and it always include Info log even when output format is json.

We should disable the log level to Error when output is json and also provide a command line arg option to change the log level.

prmarott@LAPTOP-J1571H6A  C:\git  [18:55]
❯ .\azsdk.exe release-plan get --release-plan-id 507 **-o json**
**info: Azure.Sdk.Tools.Cli.Services.DevOpsService[0]
Work item query result: Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItemQueryResult
info: Azure.Sdk.Tools.Cli.Services.DevOpsService[0]
Fetching work item details: 29581
info: Azure.Sdk.Tools.Cli.Services.DevOpsService[0]
Fetching API spec work item for release plan work item 29581**
{
"language": 0,
"details": [
"Release Plan: {\u0022WorkItemId\u0022:29581,\u0022WorkItemUrl\u0022:\u0022https:

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.