Copilot crashes on launch if log level is set to any value other than "all" or "default"
未关闭
适合新手
还没有人认领这个 Issue。
area:configuration
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 CLI 入口点和 --log-level 选项的参数处理开始;该 issue 没有指定源文件或测试。使用 copilot --log-level error 重现,然后检查列出的其他级别。完成的标准是 none、error、warning、info 和 debug 在启动时不再崩溃,同时 all 和 default 继续正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100