Support Questions

Find answers, ask questions, and share your expertise

For debugging purpose I want hive log to be written in a separate directory, how can I achieve it without changing log4j settings from ambar

avatar
New Contributor
 
1 ACCEPTED SOLUTION

avatar
Super Guru

try this will create log in tmp folder with the name of hive.log

hive --hiveconf hive.root.logger=debug,DRFA -Dhive.log.dir=/tmp -Dhive.log.file=hive.log

View solution in original post

1 REPLY 1

avatar
Super Guru

try this will create log in tmp folder with the name of hive.log

hive --hiveconf hive.root.logger=debug,DRFA -Dhive.log.dir=/tmp -Dhive.log.file=hive.log