[
https://issues.apache.org/jira/browse/SYSTEMML-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Boehm updated SYSTEMML-2233:
-------------------------------------
Description: This task aims to cleanup redundant and thus unnecessary error
logging in the package {{org.apache.sysml.parser}}. Specifically, there are
many instances where the same (copied) error message is logged via
{{LOG.error}} and thrown as an exception, which eventually ends up in the log
as well. We should delete the redundant logging via {{LOG.error}} for all
instances that are immediately followed by a thrown exception. As a byproduct
this cleanup also increases maintainability because these redundant messages
would otherwise require consistent updates. (was: This task aims to cleanup
redundant and thus unnecessary error logging in the package
{{org.apache.sysml.parser}}. Specifically, there are many instances where the
same (copied) error message is logging via {{LOG.error}} and thrown as an
exception, which eventually ends up in the log as well. As a byproduct this
cleanup also increases maintainability because these redundant messages would
otherwise require consistent updates.)
> Cleanup redundant error message logging
> ---------------------------------------
>
> Key: SYSTEMML-2233
> URL: https://issues.apache.org/jira/browse/SYSTEMML-2233
> Project: SystemML
> Issue Type: Task
> Reporter: Matthias Boehm
> Priority: Major
>
> This task aims to cleanup redundant and thus unnecessary error logging in the
> package {{org.apache.sysml.parser}}. Specifically, there are many instances
> where the same (copied) error message is logged via {{LOG.error}} and thrown
> as an exception, which eventually ends up in the log as well. We should
> delete the redundant logging via {{LOG.error}} for all instances that are
> immediately followed by a thrown exception. As a byproduct this cleanup also
> increases maintainability because these redundant messages would otherwise
> require consistent updates.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)