org.apache.hadoop.hive.common
Class LogUtils
java.lang.Object
org.apache.hadoop.hive.common.LogUtils
public class LogUtils
- extends Object
Utilities common to logging operations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIVE_L4J
public static final String HIVE_L4J
- See Also:
- Constant Field Values
HIVE_EXEC_L4J
public static final String HIVE_EXEC_L4J
- See Also:
- Constant Field Values
LogUtils
public LogUtils()
initHiveLog4j
public static String initHiveLog4j()
throws LogUtils.LogInitializationException
- Initialize log4j based on hive-log4j.properties.
- Returns:
- an message suitable for display to the user
- Throws:
LogUtils.LogInitializationException
- if log4j fails to initialize correctly
Copyright © 2013 The Apache Software Foundation