We are having an issue for which we would like to enable logging. The component is org.apache.hadoop.hive.ql.exec.persistence.HybridHashTableContainer. We have added entries to both hive-log4.properties and hive-exec-log4j.properties as follows:
log4j.appender.ts=org.apache.log4j.FileAppender log4j.appender.ts.file=/tmp/myhive.txt log4j.appender.ts.layout = org.apache.log4j.SimpleLayout log4j.logger.org.apache.hadoop.hive=INFO,ts We see the component mentioned above in the stack trace for the exception we are troubleshooting. However, we see nothing in either the hive log or our custom log appender. We have tried naming the entire component, changing INFO to DEBUG, etc. but no output for the LOG.info() line we see in the source code for the component (which is in the method that is part of the stack trace). We do see other INFO type messages in the log that we don't normally see. We did restart hiveserver2 prior to running the problematic query. How do you configure logging for a single component, or even package tree like org.apache.hadoop.hive