[ https://issues.apache.org/jira/browse/HBASE-21040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-21040: --------------------------- Summary: Replace call to printStackTrace() with proper logger call (was: printStackTrace() is used in RestoreDriver in case Exception is caught) > Replace call to printStackTrace() with proper logger call > --------------------------------------------------------- > > Key: HBASE-21040 > URL: https://issues.apache.org/jira/browse/HBASE-21040 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > Here is related code: > {code} > } catch (Exception e) { > e.printStackTrace(); > {code} > The correct way of logging stack trace is to use the Logger instance. -- This message was sent by Atlassian JIRA (v7.6.3#76005)