public class ProtocolLogUtil extends Object implements Configurable
Modifier and Type | Field and Description |
---|---|
static String |
HTTP_LOG_SUPPRESSION |
Constructor and Description |
---|
ProtocolLogUtil() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
boolean |
logShort(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 String HTTP_LOG_SUPPRESSION
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public boolean logShort(Throwable t)
http.log.exceptions.suppress.stack
Copyright © 2021 The Apache Software Foundation