You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/20 18:41:26 UTC
[jira] [Created] (CALCITE-1596) Log exceptions to custom logger
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)