[ https://issues.apache.org/jira/browse/HIVE-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756733#comment-13756733 ]
Thejas M Nair commented on HIVE-5196: ------------------------------------- [~cwsteinbach] The jdbc driver itself does not do any logging, and relying on the application to follow good practices such as logging does not always work. Also, when something goes wrong, it is not always because of an user error. For debugging when something goes wrong, I think it will be very valuable to log the errors on server side as well. The error here can probably be logged in the server as INFO (or WARN) instead of ERROR. cc [~prasadm] > ThriftCLIService.java uses stderr to print the stack trace, it should use the > logger instead. > --------------------------------------------------------------------------------------------- > > Key: HIVE-5196 > URL: https://issues.apache.org/jira/browse/HIVE-5196 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > > ThriftCLIService.java uses stderr to print the stack trace, it should use the > logger instead. Using e.printStackTrace is not suitable for production. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira