Julian Hyde created CALCITE-1596:
------------------------------------
Summary: 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)