Closed JimFuller-RedHat closed 3 months ago
and while I am asking ... how to use GooseDefault::LogLevel
is there a built in way to log response bodies ?
Response bodies are only logged to the debug log (if this is not disabled), and that's in the case of error. For more detail see:
You could duplicate this logic to log all responses, if desired. Or perhaps you could even simply log succesful responses to your requests using the debug log.
and while I am asking ... how to use GooseDefault::LogLevel
The general idea is documented here:
ah right, I wanted to log valid responses ... I guess we can use goose egg to validate (feel free to close this)
It's definitely possible, but not the typical use case so not done by default.
is there a built in way to log response bodies ?