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

Julian Hyde commented on CALCITE-1596:
--------------------------------------

Use this functionality to silence the huge number of exceptions sent to STDOUT 
while running tests.

> Log exceptions to custom logger
> -------------------------------
>
>                 Key: CALCITE-1596
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1596
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> Currently we log exceptions on creation to 
> {{org.apache.calcite.runtime.CalciteException.LOGGER}}, but we propose to add 
> {{Logger}} parameter to the constructors of {{CalciteException}}, its 
> sub-class {{CalciteContextException}}, and {{SqlValidatorException}}, and 
> write to that logger instead. The logger would be defined in the 
> {{CalciteResource}} instance, so existing code creating exceptions would not 
> need to be changed.
> We would need [changes to 
> hydromatic-resource|https://github.com/julianhyde/hydromatic-resource/issues/8].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to