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

Aperta
#4,447 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
85
Fork
142
Merge medio
1g 7h
PR unite (30g)
255

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wso2/api-platform

Tutte le issue di wso2/api-platform

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.