github / github/copilot-cli

Copilot crashes on launch if log level is set to any value other than "all" or "default"

Open Beginner friendly
#4,297 0 comments 0 reactions 0 assignees View on GitHub
area:configuration
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

Copilot crashes on launch if I try start it with a log level set to any of: none, error, warning, info, debug

### Affected version

_No response_

### Steps to reproduce the behavior

`copilot --log-level error`

### Expected behavior

Copilot does not crash when setting a different log level.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the CLI entry point and the argument handling for the --log-level option; the issue does not name a source file or test. Reproduce with `copilot --log-level error`, then check the other listed levels. Done means none, error, warning, info, and debug no longer crash on launch, while all and default continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.