[ 
https://issues.apache.org/jira/browse/KNOX-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated KNOX-2993:
--------------------------------
    Status: Patch Available  (was: Open)

> Show error stack trace when simple descriptor handler fails to parse a 
> descriptor
> ---------------------------------------------------------------------------------
>
>                 Key: KNOX-2993
>                 URL: https://issues.apache.org/jira/browse/KNOX-2993
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>    Affects Versions: 1.6.0, 2.0.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, the error stack trace is shown in gateway.log only, if the 
> {{org.apache.knox.gateway}} log level is set to {{DEBUG}}:
> {noformat}
>   @Message( level = MessageLevel.ERROR, text = "An error occurred while 
> processing {0} : {1}" )
>   void simpleDescriptorHandlingError(String simpleDesc,
>                                      @StackTrace(level = MessageLevel.DEBUG) 
> Exception e);
> {noformat}
> This makes our lives hard when dealing with errors related to events coming 
> from CM configuration monitoring.
> I recommend showing this information even on {{INFO}} level.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to