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 |
LogUtils
public LogUtils()
initHiveLog4j
public static String initHiveLog4j()
throws LogUtils.LogInitializationException
- Initialize log4j.
- Returns:
- an message suitable for display to the user
- Throws:
LogUtils.LogInitializationException
- if log4j fails to initialize correctly
initHiveExecLog4j
public static String initHiveExecLog4j()
throws LogUtils.LogInitializationException
- Initialize log4j for execution mode.
- Returns:
- an message suitable for display to the user
- Throws:
LogUtils.LogInitializationException
- if log4j-exec fails to initialize correctly
Copyright © 2012 The Apache Software Foundation