Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionExists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
-
Deprecated InterfacesInterfaceDescriptionPresent only for compatibility with Log4j 2 2.x plugins. Use Builder from log4j-plugins.
-
Deprecated ClassesClassDescription
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionExists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
-
Deprecated FieldsFieldDescriptionKept for binary backward compatibility.
-
Deprecated MethodsMethodDescriptionSince 2.24.0 use
ContextDataInjector.getValue(java.lang.String)
instead.Since 2.24.0 useAbstractLayout.Builder.setConfiguration(org.apache.logging.log4j.core.config.Configuration)
instead.Planned to be removed without a replacementuse dependency injection instead to obtain aClock
instance
-
Deprecated ConstructorsConstructorDescriptionfor performance reasons since 2.23. Use
JdkMapAdapterStringMap(Map, boolean)
instead.UseThrowablePatternConverter(String, String, String[], Configuration, ThrowablePropertyRendererFactory, ThrowableStackTraceRendererFactory)
instead.UseThrowablePatternConverter(String, String, String[], Configuration, ThrowablePropertyRendererFactory, ThrowableStackTraceRendererFactory)
instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis attribute sets font-weight as "bold" and doesn't set color brightness. Use BOLD if you need to change font-weight and BRIGHT_* to use a bright color.