You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (JIRA)" <ji...@apache.org> on 2019/06/09 18:10:00 UTC

[jira] [Commented] (JUNEAU-106) Improved REST debugging.

    [ https://issues.apache.org/jira/browse/JUNEAU-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859516#comment-16859516 ] 

James Bognar commented on JUNEAU-106:
-------------------------------------

Additional requirement:  The debug setting should not be enabled to see logged stacktraces.  Instead there should be a flag to disable the stacktraces.

> Improved REST debugging.
> ------------------------
>
>                 Key: JUNEAU-106
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-106
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 8.0.0
>            Reporter: James Bognar
>            Priority: Major
>
> Improve debugging support in REST.
> Add a debugFlags setting that allows you to pass in the following:
> LOG=[REQ,REQ_BODY,RES,RES_BODY]
>    REQ - log incoming requests 
>    REQ_BODY - log incoming request bodies
>    RES - log outgoing responses
>    RES_BODY - log outgoing response bodies
> PATTERN=* - only match the specified URI patterns



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)