Worker logging doesn't work
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- kafka, python
調査の方向性
The report points to the logging changes in faust/worker.py from PR 368 and to override_logging in the parent mode.Worker class, which controls whether the app's logging_config is applied. Start by reading how the worker sets up logging at startup and compare it with the 0.8.10 version. Done means the worker's startup messages appear under a user-supplied logging_config on the current master, with a test covering that path.
索引モデルが issue の本文から書いたものです。
説明
Checklist
- I have included information about relevant versions
- I have verified that the issue persists when using the
masterbranch of Faust.
Steps to reproduce
After upgrade to faust-streaming > 0.8.10 (PR: https://github.com/faust-streaming/faust/pull/368) I am not able to force faust to logging any info from Worker. When app sis starting, only +ƒaµS† v0.8.11+ table info is printed and any warnings before.
Before version 0.8.11 it was working like that.
When I am using logging_config in faust.App (0.8.10) my logging configuration is fine. Since 0.8.11 it is not.
When you change lines back in faust/worker.py (reverse PR changes), then everything is working fine.
The same, when override_logging is changed to False in source code of mode.Worker (parent of faust.Worker)
Any idea whats wrong or how to handle logging?
Expected behavior
Faust print info like:
[^Worker]: Starting...
[^-App]: Starting...
[^-App]: Started.
Executing _on_partitions_assigned
[^Worker]: Ready
[^Worker]: Started.
based on defined logging configuration as well as info about processed events.
Actual behavior
Only +ƒaµS† v0.8.11+ table info is printed to log and warinign before. After that nothing is logged, even errors related to communication issue.
Full traceback
n/a
Versions
- Python version: 3.10
- Faust versio: starting from 0.8.11
- Operating system: Windows/Linux container
- aiokafka: 0.10.0
- Django 4.2.11
- 主要言語
- Python
- スター
- 1.9k
- フォーク
- 205
- 平均マージ
- 2時間 2分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
faust-streaming/faust のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
faust-streaming/faust#804 ·
-
scripts/install script forces use of ./venv virtualenv, impossible to use with virtualenvwrapperオープン
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
faust-streaming/faust#28 · コメント 1 件 ·
-
[BUG] SASL PLAINTEXT producer initialization fails : missing sasl_plain_username/password対応中かも @wbarnha が 56 日前に担当しました。 オープン
faust-streaming/faust#794 · コメント 2 件 · リアクション 1 件 · 担当者 2 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
faust-streaming/faust#670 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
faust-streaming/faust#666 ·
faust-streaming/faust の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenFreeEnergy/openfe#2371 ·
メンテナーはふだん 2 日以内に返信
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NCATSTranslator/Babel#1269 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
404 on sample dataオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100