-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support for logging Outbound Bidder Request #3157
Comments
@bretg if the proposed solution seems acceptable, shall I pick up the implementation? |
@b-chinmay - we don't fully understand what you're proposing. Is it that you essentially want to kick the system into debug mode when the http-interaction condition is met? e.g. add a new flag to
When Ideally, this wouldn't affect the actual bid response. |
@bretg that sounds about right. |
Cool. Then we'd be happy to accept a pull request. Thanks. |
Problem:
Http interaction Logger supports logging of bidder request before the changes are made by the corresponding request hooks and when the request is sent to the bidder. This creates the gap for logging the final bid request after if any changes are made by any adapter.
Proposed Solution:
Expose a function from from the http interaction logger class that logs the final request object (similar to HttpInteractionLogger.java maybeLogBidderRequest: https://github.com/prebid/prebid-server-java/blob/42c5b41d5d9d075ecb793936680b2c4f4be305f5/src/main/java/org/prebid/server/log/HttpInteractionLogger.java#L82C17-L82C38).
The client to call this function can be placed in HttpBidderRequester.java (
prebid-server-java/src/main/java/org/prebid/server/bidder/HttpBidderRequester.java
Line 108 in 42c5b41
The text was updated successfully, but these errors were encountered: