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

Đang mở
#4,447 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
observability, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
85
Fork
142
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
255

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wso2/api-platform

Tất cả issue của wso2/api-platform

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.