Re: Hive logging 2.0.0

2016-08-18 Thread Mich Talebzadeh
copy $HIVE_HOME/conf/hive-log4j2.properties.template to $HIVE_HOME/conf/hive-log4j2.properties Change the values in that file to WARN etc. For example property.hive.log.level = INFO HTH Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOAB

Re: Hive logging 2.0.0

2016-08-17 Thread karthi keyan
Mich I enabled it by adding the log4j2 in the Hive classpath and i can able to get the hive.log file configured in the log4j2(property.hive.log.dir) but i didn't find any logs in that file. started Hiveserver2,log file was created but cant find anything in it. I can see the logs in Console. Doe

Re: Hive logging 2.0.0

2016-08-17 Thread Mich Talebzadeh
Have you set this up conf/hive-log4j2.properties? SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/hive-jdbc-2.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/log4j-slf4j-impl-2.

Hive logging 2.0.0

2016-08-17 Thread karthi keyan
I didnt get any log while connecting the Hiveserver with beeline and getting exception as ERROR StatusLogger No log4j2 configuration file found. Using default configurati on: logging only errors to the console. could any one help me resolve this or guide me enable the logs in HIVE 2.0.0. Best, K