Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: explain how to change log location, per email from Satish Mittal on user@hive 7/18/2014

...

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 INFO.

The logs are stored in the folder:

  • /tmp/<user.name>/hive.log
    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:

  • hive.log.dir=other_location

If the user wishes , the logs can be emitted to the console by adding the arguments shown below:

...