#4233 [RFE] Log pretty-printed request & response
Closed: Fixed None Opened 10 years ago by pviktori.

"ipa -vv $COMMAND" is frequently used by people exploring the API, but the current output is pretty cryptic. We should add an option to pretty-print the JSON request and response to make their job easier.
Either -vvv or an env setting (-e log_payload=true) or even a special option (--show-payload) would work.


Would be also useful for troubleshooting, adding feature tag.

No takers, not a release blocker. Moving to 4.0 Backlog.

RFE not done in 4.0 - moving to next release.

Proposed patch was nacked, submitter is no longer with the project so removing On Review flag.

master:

  • b7a6d79 JSON client: Log pretty-printed request and response with -vv or above

ipa-4-1:

  • 16ffb82 JSON client: Log pretty-printed request and response with -vv or above

Metadata Update from @pviktori:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 4.1

7 years ago

Login to comment on this ticket.

Metadata