Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: 日志等级选择 Off 时配置校验拒绝该值

オープン
#3,483 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Raing5Days がすでに取り組んでいます。

2026年10月20日 から。

  • #3485 @Raing5Days による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
desktop

調査の方向性

Start by inspecting the logging-level selector in Settings > Data > Diagnostics and the configuration validation that rejects off; the issue does not name files or tests. Check the linked pull request #3485 for work already underway. Done means the behavior is consistent: either Off saves and the effective runtime level becomes off, or the unsupported option is removed from the selector and the minimum level is explained.

索引モデルが issue の本文から書いたものです。

説明

Summary
“设置 > 数据 > 诊断”中的日志等级下拉框提供 Off,但选择后无法保存,实际等级仍为 error。诊断日志报错:Failed to set config: value must be one of: "error", "warn", "info", "debug", "trace"。请确认这是刻意保留最低日志等级的行为,还是配置校验遗漏了 off。

Area
Desktop app

Reproduction or evidence

  1. 使用 OpenBitFun 1.0.6-nightly.20261019(Windows x86_64)。
  2. 打开“设置 > 数据 > 诊断”,将日志等级改为 Off。
  3. 保存失败,当前有效等级仍为 error。本地诊断包中的 webview log 记录了上述配置校验错误;诊断 ZIP 未上传到 Issue。

Environment
OpenBitFun version: 1.0.6-nightly.20261019
OS: Windows x86_64

Expected behavior
如果支持完全关闭日志,配置校验应接受 off,并确认运行时有效等级变为 off;如果这是有意禁止的保留行为,则应从下拉框移除 Off 并说明最低日志等级,避免 UI 提供无法使用的选项。

主要言語
Rust
スター
2.3k
フォーク
236
平均マージ
6時間 51分
マージ済み PR(30日)
253

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GCWing/OpenBitFun のほかの issue

GCWing/OpenBitFun の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。