Hive uses log4j for logging. By default logs are not emitted to the console by the CLI. The default logging level is
WARN for Hive releases prior to 0.13.0. Starting with Hive 0.13.0, the default logging level is
The logs are stored in the folder:
Note: In local mode, prior to Hive 0.13.0 the log file name was "
.log" instead of "
hive.log". This bug was fixed in release 0.13.0 (see HIVE-5528 and HIVE-5676).
To configure a different log location, set
hive.log.dir in $HIVE_HOME/conf/hive-log4j.properties:
If the user wishes – , the logs can be emitted to the console by adding the arguments shown below: