Customizing Hive Logs
You can see the hive logs in /tmp/{user.name}/hive.log
You can customize hive logs in 3 ways
1) hive-log4j.default file
You can change any log property
2) In Command Line Interface (CLI)
3) In Hive Shell
You can see the hive logs in /tmp/{user.name}/hive.log
/tmp/hduser/hive.log
1) hive-log4j.default file
$HIVE_HOME/conf/hive-log4j.default
hive.log.threshold=ALL hive.root.logger=INFO,DRFA hive.log.dir=$ {java.io.tmpdir}/$ {user.name} hive.log.file=hive.log
hive.root.logger=INFO,CONSOLE
hive --hiveconf hive.root.logger=WARN,CONSOLE
hive> SET hive.root.logger=WARN,CONSOLE;
Comments
Post a Comment