public class LogDivertAppender extends Object
Modifier and Type | Field and Description |
---|---|
static String |
nonVerboseLayout |
static String |
QUERY_ROUTING_APPENDER
Name of the query routine appender.
|
static String |
verboseLayout |
Constructor and Description |
---|
LogDivertAppender() |
Modifier and Type | Method and Description |
---|---|
static void |
registerRoutingAppender(org.apache.hadoop.conf.Configuration conf)
Programmatically register a routing appender to Log4J configuration, which
automatically writes the log of each query to an individual file.
|
public static final String verboseLayout
public static final String nonVerboseLayout
public static final String QUERY_ROUTING_APPENDER
public static void registerRoutingAppender(org.apache.hadoop.conf.Configuration conf)
conf
- the configuration for HiveServer2 instanceCopyright © 2022 The Apache Software Foundation. All rights reserved.