public interface ApplicationLoggingConfig
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getForwardingContextDataExclude()
Get the exclude list for context data.
|
java.util.List<java.lang.String> |
getForwardingContextDataInclude()
Get the include list for context data.
|
java.util.Set<java.lang.String> |
getLogLabelsExcludeSet()
Get the set of excluded labels.
|
int |
getMaxSamplesStored()
Get the max number of LogEvents that can be stored during a harvest period before sampling takes place.
|
boolean |
isEnabled()
Determines whether the application_logging features are completely disabled or can be controlled individually.
|
boolean |
isForwardingContextDataEnabled()
Allow the agent to forward context data along with the application logs to New Relic.
|
boolean |
isForwardingEnabled()
Allow the agent to forward application logs to New Relic.
|
boolean |
isLocalDecoratingEnabled()
Allow the agent to decorate application log files and console output with New Relic specific linking metadata.
|
boolean |
isLogLabelsEnabled()
Allow the agent to add labels to application logs.
|
boolean |
isMetricsEnabled()
Allow metrics to be generated to provide data such as the number of lines logged at each log level.
|
java.util.Map<java.lang.String,java.lang.String> |
removeExcludedLogLabels(java.util.Map<java.lang.String,java.lang.String> labels)
Removes excluded labels from the labels map.
|
boolean isEnabled()
boolean isMetricsEnabled()
boolean isForwardingEnabled()
boolean isForwardingContextDataEnabled()
boolean isLocalDecoratingEnabled()
int getMaxSamplesStored()
java.util.List<java.lang.String> getForwardingContextDataInclude()
java.util.List<java.lang.String> getForwardingContextDataExclude()
boolean isLogLabelsEnabled()
java.util.Map<java.lang.String,java.lang.String> removeExcludedLogLabels(java.util.Map<java.lang.String,java.lang.String> labels)
java.util.Set<java.lang.String> getLogLabelsExcludeSet()