public class ProtocolLogUtil extends java.lang.Object implements Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HTTP_LOG_SUPPRESSION |
Constructor and Description |
---|
ProtocolLogUtil() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
boolean |
logShort(java.lang.Throwable t)
Return true if exception is configured to be logged as short message
without stack trace, usually done for frequent exceptions with obvious
reasons (e.g., UnknownHostException), configurable by
http.log.exceptions.suppress.stack |
void |
setConf(Configuration conf) |
public static final java.lang.String HTTP_LOG_SUPPRESSION
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public boolean logShort(java.lang.Throwable t)
http.log.exceptions.suppress.stack
Copyright © 2019 The Apache Software Foundation