Skip to content

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

@praveenkuttappan

Description

@praveenkuttappan

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:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions