[
https://issues.apache.org/jira/browse/FALCON-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907714#comment-14907714
]
Narayan Periwal commented on FALCON-1477:
-----------------------------------------
[~sriksun], we can print the jersey response object in debug mode in the method
checkIfSuccessful().
In some places, we dont have this checkIfSuccessful() method. In such cases,
we will have to call the method printClientResponse() to print the jersey
response object.
> Adding "-debug" option to Falcon CLI for debug statements to stdout.
> --------------------------------------------------------------------
>
> Key: FALCON-1477
> URL: https://issues.apache.org/jira/browse/FALCON-1477
> Project: Falcon
> Issue Type: New Feature
> Reporter: Narayan Periwal
> Assignee: Narayan Periwal
> Attachments: FALCON-1477-v0.patch
>
>
> With this feature, users can specify "-debug" in CLI arguments to get the
> debug statements in Stdout.
> eg. falcon entity -type feed -name in-feed.xml -submit -debug
> Also, users can export the env variable FALCON_DEBUG to a non-zero value to
> get the debug statements on stdout.
> Starting right now with getting basic debug output such as the Http
> connection URL to the server, this can be later extended for printing more
> debug statements at various stages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)