Hive 运行日志信息配置
Hive 的 log 默认存放在/tmp/用户名/hive.log 下面
如果要修改hive.log的日志位置则需要做一下两个步骤
(1)修改在hive/conf/hive-log4j2.properties.template 文件名称为
hive-log4j2.properties
mv hive-log4j2.properties.template hive-log4j2.properties
(2)在 hive-log4j2.properties 文件中修改 log 存放位置
hive.log.dir=/opt/soft/hive/logs