Please select the area the issue is related to
Gateway
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Description
send_request_body and send_response_body deprecated.
[analytics]
enabled = true
# Deprecated: allow_payloads is preserved for backward compatibility. When true
# and both send_request_body and send_response_body are false, both directions
# are enabled (bool fields cannot distinguish "unset" from explicitly false).
# To disable payloads entirely, set allow_payloads = false or remove it; do not
# rely on send_*_body = false while allow_payloads remains true.
allow_payloads = false
# Deprecated: send_request_body / send_response_body are preserved
# for backward compatibility and are mapped onto the [collector] body-capture flags
# during validation (with a warning). Prefer setting [collector] directly.
send_request_body = false
send_response_body = false
enabled_publishers = ["moesif"]
Request/Response body is true in colllector because, I need to log paylods in traffic logging.
The requirement is log paylods in traffic loggin while stop sending payload for Analytics.
Steps to Reproduce
Configure the gateway
[analytics]
enabled = true
enabled_publishers = ["moesif"]
send_request_body = false
send_response_body = false
[analytics.publishers.moesif]
application_id = '***'
[collector]
request_body = true
response_body = true
request_headers = true
response_headers = true
Deploy an LLM Provider.
Invoke it.
Payloads are publised.
Severity Level of the Issue
Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)
Environment Details (with versions)
API Platform 1.2.0
Please select the area the issue is related to
Gateway
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Description
send_request_body and send_response_body deprecated.
Request/Response body is true in colllector because, I need to log paylods in traffic logging.
The requirement is log paylods in traffic loggin while stop sending payload for Analytics.
Steps to Reproduce
Configure the gateway
Deploy an LLM Provider.
Invoke it.
Payloads are publised.
Severity Level of the Issue
Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)
Environment Details (with versions)
API Platform 1.2.0