[Improvement]: Review which policy parameters are written to debug logs

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

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start by listing debug log lines in the policy engine and policies that print full params or resolved configuration values; the issue does not name specific files or tests. Identify which values are needed for troubleshooting, then assess a shared helper that logs selected keys or masks values by key name. Done means the affected logs are reviewed consistently and a test checks them against known values.

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

説明

Aspect/Logging Type/Improvement
Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/Logging (Log formats, instrumentation, improvements)

Suggested Improvement

Some policies and the policy engine write whole parameter maps and resolved configuration values to debug-level log lines. Review these lines and keep only what is needed for troubleshooting.

Suggested approach:

  1. List the debug log lines in the policy engine and the policies that print full params or resolved configuration values.
  2. Log only the keys that are needed, or mask values by key name, with one shared helper so every policy behaves the same way.
  3. Add a test that checks these log lines against a set of known values.
Related Issues

No response

主要言語
Go
スター
85
フォーク
142
平均マージ
1日 7時間
マージ済み PR(30日)
255

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

wso2/api-platform のほかの issue

wso2/api-platform の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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