Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More granular logging configuration #1474

Closed
ELymar opened this issue May 19, 2021 · 0 comments
Closed

More granular logging configuration #1474

ELymar opened this issue May 19, 2021 · 0 comments
Labels
question Initially seen a question could become a new feature or bug or closed ;)

Comments

@ELymar
Copy link

ELymar commented May 19, 2021

Expected Behavior / New Feature

Could it be possible to give more control over what gets logged? We have API keys that get passed in as query parameters, and the logger ends up storing them in plaintext in our logs. Could we disable logging query parameters, or perhaps just not logging for certain endpoints? If there is a workaround (besides passing keys in the header) I'd also appreciate suggestions.

Actual Behavior / Motivation for New Feature

Currently by adding a logger via DI, all requests that go through the system are logged along with their query parameters.

Steps to Reproduce the Problem

N/A

Specifications

  • Version: latest
  • Platform: Azure Service Fabric
  • Subsystem:
@raman-m raman-m added the question Initially seen a question could become a new feature or bug or closed ;) label Jan 6, 2024
@ThreeMammals ThreeMammals locked and limited conversation to collaborators Jan 6, 2024
@raman-m raman-m converted this issue into discussion #1891 Jan 6, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Initially seen a question could become a new feature or bug or closed ;)
Projects
None yet
Development

No branches or pull requests

2 participants