Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLogPrefix() |
static void |
setLogInfo(BundleJobBean bBean,
XLog.Info logInfo)
Set the log info with the context of the given bundle bean.
|
static void |
setLogInfo(CoordinatorActionBean action,
XLog.Info logInfo)
Set the log info with the context of the given coordinator action bean.
|
static void |
setLogInfo(CoordinatorJobBean cBean,
XLog.Info logInfo)
Set the log info with the context of the given coordinator bean.
|
static void |
setLogInfo(WorkflowActionBean action,
XLog.Info logInfo)
Set the log info with the context of the given action bean.
|
static void |
setLogInfo(org.apache.oozie.client.WorkflowAction action,
XLog.Info logInfo) |
static void |
setLogInfo(WorkflowJobBean workflow,
XLog.Info logInfo)
Set the log info with the context of the given workflow bean.
|
static void |
setLogInfo(XLog.Info logInfo)
Set the thread local log info with the context of the given Info object.
|
static XLog |
setLogInfo(XLog logObj,
String jobId,
String actionId,
String appName) |
static XLog |
setLogPrefix(XLog logObj,
org.apache.oozie.client.event.Event event) |
public LogUtils()
public static void setLogInfo(CoordinatorJobBean cBean, XLog.Info logInfo)
cBean
- coordinator bean.logInfo
- log infopublic static void setLogInfo(CoordinatorActionBean action, XLog.Info logInfo)
action
- action bean.logInfo
- log infopublic static void setLogInfo(WorkflowJobBean workflow, XLog.Info logInfo)
workflow
- workflow bean.logInfo
- log infopublic static void setLogInfo(WorkflowActionBean action, XLog.Info logInfo)
action
- action bean.logInfo
- log infopublic static void setLogInfo(org.apache.oozie.client.WorkflowAction action, XLog.Info logInfo)
public static void setLogInfo(BundleJobBean bBean, XLog.Info logInfo)
bBean
- bundle bean.logInfo
- log infopublic static void setLogInfo(XLog.Info logInfo)
logInfo
- log infopublic static XLog setLogInfo(XLog logObj, String jobId, String actionId, String appName)
public static XLog setLogPrefix(XLog logObj, org.apache.oozie.client.event.Event event)
public static void clearLogPrefix()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.