Deprecated API
Contents
-
Interfaces Interface Description org.apache.logging.log4j.core.util.datetime.DatePrinter Starting with version2.25.0, this class is assumed to be internal and planned to be removed in the next major release.org.apache.logging.log4j.spi.CopyOnWrite Since 2.24.0 no class implements this.org.apache.logging.log4j.spi.LoggerRegistry.MapFactory As of version2.25.0, planned to be removed!
-
Classes Class Description org.apache.logging.log4j.core.appender.mom.JmsAppender Useorg.apache.logging.log4j.core.appender.mom.jakarta.JmsAppender.org.apache.logging.log4j.core.appender.mom.JmsManager Useorg.apache.logging.log4j.core.appender.mom.jakarta.JmsManager.org.apache.logging.log4j.core.appender.rolling.action.Duration since 2.24.0 useDurationinstead.org.apache.logging.log4j.core.async.RingBufferLogEventHandler Only used internally, will be removed in the next major version.org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.DurationConverter since 2.24.0. ADurationconverter will be available in 3.0.0.org.apache.logging.log4j.core.impl.ExtendedClassInfo org.apache.logging.log4j.core.impl.ExtendedStackTraceElement org.apache.logging.log4j.core.impl.ThrowableProxy org.apache.logging.log4j.core.layout.SerializedLayout Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data . Using this layout is no longer recommended. An alternative layout containing the same information isJsonLayoutwhen configured with properties="true". Deprecated since 2.9.org.apache.logging.log4j.core.util.datetime.FastDateFormat Starting with version2.25.0, this class is assumed to be internal and planned to be removed in the next major release.org.apache.logging.log4j.core.util.datetime.FastDatePrinter Starting with version2.25.0, this class is assumed to be internal and planned to be removed in the next major release.org.apache.logging.log4j.core.util.datetime.FixedDateFormat Starting with version2.25.0, this class is assumed to be internal and planned to be removed in the next major release.org.apache.logging.log4j.core.util.datetime.Format Starting with version2.25.0, this class is assumed to be internal and planned to be removed in the next major release.org.apache.logging.log4j.EventLogger Deprecated since 2.24.0.LoggeracceptsStructuredDataMessages, users should use to that instead.org.apache.logging.log4j.spi.LoggerContextKey with no replacement - no longer usedorg.apache.logging.log4j.spi.LoggerRegistry.ConcurrentMapFactory As of version2.25.0, planned to be removed!org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory As of version2.25.0, planned to be removed!
-
Enums Enum Description org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity This class is not used anymore and only kept for binary backward compatibility.
-
Fields Field Description org.apache.logging.log4j.core.layout.Rfc5424Layout.PARAM_VALUE_ESCAPE_PATTERN org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.formatters Kept for binary backward compatibility.org.apache.logging.log4j.core.util.Constants.FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS no longer used, lookups are only used when%m{lookups}is specifiedorg.apache.logging.log4j.core.util.Constants.LOG4J_DEFAULT_STATUS_LEVEL since 2.24.0 useStatusLogger.DEFAULT_STATUS_LISTENER_LEVELinstead.org.apache.logging.log4j.core.util.NullOutputStream.NULL_OUTPUT_STREAM Deprecated in 2.7: useNullOutputStream.getInstance().org.apache.logging.log4j.LogManager.FACTORY_PROPERTY_NAME Replaced since 2.24.0 with "log4j.provider".org.apache.logging.log4j.spi.Provider.FACTORY_PRIORITY since 2.24.0org.apache.logging.log4j.spi.Provider.LOGGER_CONTEXT_FACTORY since 2.24.0org.apache.logging.log4j.spi.Provider.THREAD_CONTEXT_MAP since 2.24.0
-
Enum Constants Enum Constant Description org.apache.logging.log4j.core.pattern.AnsiEscape.BRIGHT This 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.
-
Annotation Type Elements Annotation Type Element Description org.apache.logging.log4j.core.tools.picocli.CommandLine.Option.help()