Replace logging.basicConfig() with something more sensible
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- backend, observability
調査の方向性
Find where logging.basicConfig() runs in api.server and inspect the executable entrypoint in main.py. Check how the service is started and how tests or ASGI imports configure logging; the issue suggests moving configuration to main.py or guarding it when handlers already exist. Done means importing api.server no longer overrides logging configured by its host process.
索引モデルが issue の本文から書いたものです。
説明
logging.basicConfig(...)is executed at module import time, which can override/lock in logging configuration for any process that importsapi.server(including tests and ASGI servers). Consider moving logging configuration to the executable entrypoint (e.g.,main.py) or only configuring if no handlers are present, to avoid side effects for library consumers.if not logging.getLogger().hasHandlers(): logging.basicConfig(level=os.getenv("LOGLEVEL", logging.INFO))
Originally posted by @Copilot in #253
- 主要言語
- Python
- スター
- 5
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NCATSTranslator/NameResolution のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
NCATSTranslator/NameResolution の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
huggingface/kernels#1006 ·
メンテナーはふだん 1 日以内に返信
-
precond_kda (new op, #1552) backward kernels hit CUDA illegal memory access on Blackwell under triton 3.3.1, pass under triton 3.7.1対応中かも @YYuJLiu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fla-org/flash-linear-attention#1749 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bridgecrewio/checkov#7804 ·
メンテナーはふだん 2 日以内に返信
-
area:filesystem bug need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentscope-ai/agentscope#4068 ·
メンテナーはふだん 2 日以内に返信