Skip to content

this custom apicast policy can be used to log request and response body in the standard log

License

Notifications You must be signed in to change notification settings

3scale-demos/apicast-log-body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Log Body Policy

This policy allows users to log both request and response payload in the log. It also contains a parameter which allows you to define how many characters to log from the response (in case you expect a very long response).

Caveats

This policy is using body_filter_by_lua directive and can result in blocking behavior when waiting for the response body data stream to end.

About

this custom apicast policy can be used to log request and response body in the standard log

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published