public class WorkerLoggingContext extends ApplicationLoggingContext
WorkerLoggingContext.SystemTag| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_WORKER_ID |
TAG_ADAPTER_ID, TAG_APPLICATION_ID, TAG_INSTANCE_ID, TAG_RUNID_IDTAG_NAMESPACE_ID| Constructor and Description |
|---|
WorkerLoggingContext(String namespaceId,
String appId,
String workerId,
String runId,
String instanceId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLogPartition() |
String |
getLogPathFragment(String logBaseDir) |
setAdapterId, setInstanceIdgetNamespacedLogBaseDirgetSystemTag, getSystemTags, getSystemTagsMap, setSystemTag, toStringpublic static final String TAG_WORKER_ID
public String getLogPartition()
getLogPartition in interface LoggingContextgetLogPartition in class ApplicationLoggingContextpublic String getLogPathFragment(String logBaseDir)
getLogPathFragment in interface LoggingContextgetLogPathFragment in class ApplicationLoggingContextCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.