Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

log4j-2.20.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: log4j Distribution: openSUSE Tumbleweed
Version: 2.20.0 Vendor: openSUSE
Release: 1.1 Build date: Mon Jan 5 19:13:34 2026
Group: Unspecified Build host: reproducible
Size: 2995551 Source RPM: log4j-2.20.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://logging.apache.org/log4j
Summary: Java logging package
Log4j is a tool to help the programmer output log statements to a
variety of output targets.

Provides

Requires

License

Apache-2.0

Changelog

* Mon Jan 05 2026 Fridrich Strba <fstrba@suse.com>
  - Upgrade to 2.18.0
    * Added
      + Add support for Jakarta Mail API in the SMTP appender.
      + Add support for custom Log4j 1.x levels.
      + Add support for adding and retrieving appenders in Log4j 1.x
      bridge.
      + Add support for custom LMAX disruptor WaitStrategy
      configuration.
      + Add support for Apache Extras' RollingFileAppender in Log4j
      1.x bridge.
      + Add MutableThreadContextMapFilter.
      + Add support for 24 colors in highlighting
    * Changed
      + Improves ServiceLoader support on servlet containers.
      + Make the default disruptor WaitStrategy used by Async Loggers
      garbage-free.
      + Do not throw UnsupportedOperationException when JUL
      ApiLogger::setLevel is called.
      + Support Spring 2.6.x.
      + Move perf tests to log4j-core-its
      + Upgrade the Flume Appender to Flume 1.10.0
    * Fixed
      + Fix minor typo #792.
      + Improve validation and reporting of configuration errors.
      + Allow enterprise id to be an OID fragment.
      + Fix problem with non-uppercase custom levels.
      + Avoid ClassCastException in JeroMqManager with custom
      LoggerContextFactory #791.
      + DirectWriteRolloverStrategy should use the current time when
      creating files.
      + Fixes the syslog appender in Log4j 1.x bridge, when used with
      a custom layout.
      + log4j-1.2-api 2.17.2 throws NullPointerException while
      removing appender with name as null.
      + Improve JsonTemplateLayout performance.
      + Fix resolution of non-Log4j properties.
      + Fixes Spring Boot logging system registration in a
      multi-application environment.
      + JAR file containing Log4j configuration isn’t closed.
      + Properties defined in configuration using a value attribute
      (as opposed to element) are read correctly.
      + Syslog appender lacks the SocketOptions setting.
      + Log4j 1.2 bridge should not wrap components unnecessarily.
      + Update 3rd party dependencies for 2.18.0.
      + SizeBasedTriggeringPolicy would fail to rename files properly
      when integer pattern contained a leading zero.
      + Fixes default SslConfiguration, when a custom keystore is
      used.
      + Fixes appender concurrency problems in Log4j 1.x bridge.
      + Fix and test for race condition in FileUtils.mkdir().
      + LocalizedMessage logs misleading errors on the console.
      + Add missing message parameterization in RegexFilter.
      + Add the missing context stack to JsonLayout template.
      + HttpWatcher did not pass credentials when polling.
      + UrlConnectionFactory.createConnection now accepts an
      AuthorizationProvider as a parameter.
      + The DirectWriteRolloverStrategy was not detecting the correct
      index to use during startup.
      + Async Loggers were including the location information by
      default.
      + ClassArbiter’s newBuilder method referenced the wrong class.
      + Don’t use Paths.get() to avoid circular file systems.
      + Fix parsing error, when XInclude is disabled.
      + Fix LevelRangeFilterBuilder to align with log4j1’s behavior.
      + Fixes problem with wrong ANSI escape code for bright colors
      + Log4j 1.2 bridge should generate Log4j 2.x messages based on
      the parameter runtime type.
  - Update to 2.19.0
    * Added
      + Add implementation of SLF4J2 fluent API.
      + Add support for SLF4J2 stack-valued MDC.
    * Changed
      + Add getExplicitLevel method to LoggerConfig.
      + Allow PropertySources to be added.
      + Allow Plugins to be injected with the LoggerContext reference.
    * Fixed
      + Add correct manifest entries for OSGi to log4j-jcl
      + Improve support for passwordless keystores.
      + SystemPropertyArbiter was assigning the value as the name.
      + Make JsonTemplateLayout stack trace truncation operate for
      each label block.
      + Fix recursion between Log4j 1.2 LogManager and Category.
      + Fix resolution of properties not starting with log4j2..
      + Logger$PrivateConfig.filter(Level, Marker, String) was
      allocating empty varargs array.
      + Allows a space separated list of style specifiers in the
      %style pattern for consistency with %highlight.
      + Fix NPE in log4j-to-jul in the case the root logger level is
      null.
      + Fix RollingRandomAccessFileAppender with
      DirectWriteRolloverStrategy can’t create the first log file of
      different directory.
      + Generate new SSL certs for testing.
      + Fix ServiceLoaderUtil behavior in the presence of a
      SecurityManager.
      + Fix regression in Rfc5424Layout default values.
      + Harden InstantFormatter against delegate failures.
      + Add async support to Log4jServletFilter.
    * Removed
      + Removed build page in favor of a single build instructions
      file.
      + Remove SLF4J 1.8.x binding.
  - Update to 2.20.0
    * Added
      + Add support for timezones in RollingFileAppender date pattern
      + Add LogEvent timestamp to ProducerRecord in KafkaAppender
      + Add PatternLayout support for abbreviating the name of all
      logger components except the 2 rightmost
      + Removes internal field that leaked into public API.
      + Add a LogBuilder#logAndGet() method to emulate the
      Logger#traceEntry method.
    * Changed
      + Simplify site generation
      + Switch the issue tracker from JIRA to GitHub Issues
      + Remove liquibase-log4j2 maven module
      + Fix order of stacktrace elements, that causes cache misses in
      ThrowableProxyHelper.
      + Switch from com.sun.mail to Eclipse Angus.
      + Add Log4j2 Core as default runtime dependency of the
      SLF4J2-to-Log4j2 API bridge.
      + Replace maven-changes-plugin with a custom changelog
      implementation
      + Moved log4j-api and log4j-core artifacts with classifier tests
      to log4j-api-test and log4j-core-test respectively.
    * Deprecated
      + Deprecate support for package scanning for plugins
    * Fixed
      + Copy programmatically supplied location even if
      includeLocation="false".
      + Eliminate status logger warning, when disableAnsi or
      noConsoleNoAnsi is used the style and highlight patterns.
      + Fix detection of location requirements in RewriteAppender.
      + Replace regex with manual code to escape characters in
      Rfc5424Layout.
      + Fix java.sql.Time object formatting in MapMessage
      + Fix previous fire time computation in CronTriggeringPolicy
      + Correct default to not include location for AsyncRootLoggers
      + Make StatusConsoleListener use SimpleLogger internally.
      + Lazily evaluate the level of a SLF4J LogEventBuilder
      + Fixes priority of Legacy system properties, which are now back
      to having higher priority than Environment variables.
      + Protects ServiceLoaderUtil from unchecked ServiceLoader
      exceptions.
      + Fix Configurator#setLevel for internal classes
      + Fix level propagation in Log4jBridgeHandler
      + Disable OsgiServiceLocator if not running in OSGI container.
      + When using a Date Lookup in the file pattern the current time
      should be used.
      + Fixed LogBuilder filtering in the presence of global filters.
  - Removed patch:
    * log4j-java8compat.patch
      + not needed with this version
  - Modified patch:
    * logging-log4j-Remove-unsupported-EventDataConverter.patch
      + rediff
  - Added patch:
    * 0002-Remove-usage-of-toolchains.patch
      + do not use the maven-toolchains-plugin
    * log4j-CVE-2025-68161.patch
      + bsc#1255427, CVE-2025-68161: absent TLS hostname verification
      may allow a man-in-the-middle attack
* Fri Oct 11 2024 Fridrich Strba <fstrba@suse.com>
  - Build the extra modules even for SLE
* Mon Apr 29 2024 Fridrich Strba <fstrba@suse.com>
  - The binaries are compatible with java 1.8
  - Fetch newer upstream keyring
* Sun Mar 10 2024 Fridrich Strba <fstrba@suse.com>
  - Added patch:
    * log4j-jackson-databind.patch
      + do not use previously deprecated methods, removed in
      jackson-databind 2.16.x
* Wed Jun 15 2022 Fridrich Strba <fstrba@suse.com>
  - Build also taglib, jmx-gui, bom, nosql and web modules, on
    platforms where we have the dependencies
* Mon Jun 13 2022 Fridrich Strba <fstrba@suse.com>
  - Do not package the *.zip artifacts whose content is part of the
    multi-release jars already
  - Added patch:
    * log4j-java8compat.patch
      + maintain ByteBuffer and CharBuffer compatibility with java 8
* Mon Jun 13 2022 Fridrich Strba <fstrba@suse.com>
  - Build as multi-release jar.
  - Add some logging providers which we can build with the existing
    dependencies and without cycles.
* Mon Apr 11 2022 Fridrich Strba <fstrba@suse.com>
  - Add dependency on standalone javax.activation-api that is not
    included in newer JDKs
* Thu Mar 10 2022 David Anes <david.anes@suse.com>
  - Update to 2.17.2
    * New Features
    - Limit loading of configuration via a url to https by default.
    - Require log4j2.Script.enableLanguages to be specified to
      enable scripting for specific languages.
    - Add TB support to FileSize.
    - Add the log4j-to-jul JDK Logging Bridge.
    - Add org.apache.logging.log4j.core.appender.AsyncAppender.getAppenders()
      to more easily port from org.apache.log4j.AsyncAppender.getAllAppenders().
    - Add Configurator.setLevel(Logger, Level),
      setLevel(String, String), and setLevel(Class, Level).
    - Add shorthand syntax for properties configuration format for
      specifying a logger level and appender refs.
    - Add optional additional fields to NoSQLAppender.
    * Fixed Bugs
    - Flag LogManager as initiialized if the LoggerFactory is
      provided as a property.
    - Fix DefaultConfiguration leak in PatternLayout.
    - Document that the Spring Boot Lookup requires the
      log4j-spring-boot dependency.
    - Fix RoutingAppender backcompat and disallow recursive
      evaluation of lookup results outside of configuration
      properties.
    - Fix ThreadContextDataInjector initialization deadlock.
    - Fix substitutions when programmatic configuration is used.
    - OptionConverter could cause a StackOverflowError.
    - Log4j 1.2 bridge class ConsoleAppender should extend
      WriterAppender and provide better compatibility with custom
      appenders.
    - Log4j 1.2 bridge method NDC.inherit(Stack) should not use
      generics to provide source compatibility.
    - Log4j 1.2 bridge class PatternLayout is missing constants
      DEFAULT_CONVERSION_PATTERN and TTCC_CONVERSION_PATTERN.
    - Log4j 1.2 bridge class PropertyConfigurator should implement
      Configurator.
    - Log4j 1.2 bridge interface Configurator doConfigure() methods
      should use LoggerRepository, not LoggerContext.
    - Log4j 1.2 bridge class OptionConverter is missing
      selectAndConfigure() methods.
    - Log4j 1.2 bridge class Category should implement
      AppenderAttachable.
    - Log4j 1.2 bridge method Category.exists(String) should be
      static.
    - Log4j 1.2 bridge methods missing in org.apache.log4j.Category:
      getDefaultHierarchy(), getHierarchy(), getLoggerRepository().
    - Log4j 1.2 bridge class LogManager default constructor should
      be public.
    - Log4j 1.2 bridge interface org.apache.log4j.spi.RendererSupport
      was in the wrong package and incomplete.
    - Log4j 1.2 bridge interfaces missing from package
      org.apache.log4j.spi: ThrowableRenderer,
      ThrowableRendererSupport, TriggeringEventEvaluator.
    - Log4j 1.2 bridge missing class org.apache.log4j.or.RendererMap.
    - Log4j 1.2 bridge PropertiesConfiguration.buildAppender not
      adding filters to custom appender.
    - Log4j 1.2 bridge should ignore case in properties file keys.
    - Log4j 1.2 bridge adds org.apache.log4j.component.helpers.Constants.
    - Log4j 1.2 bridge adds org.apache.log4j.helpers.LogLog.
    - Log4j 1.2 bridge adds org.apache.log4j.helpers.Loader.
    - Log4j 1.2 bridge adds org.apache.log4j.spi.RootLogger.
    - Log4j 1.2 bridge class Category is missing some protected
      instance variables.
    - Log4j 1.2 bridge adds org.apache.log4j.Hierarchy.
    - Log4j 1.2 bridge methods Category.getChainedPriority() and
      getEffectiveLevel() should not be final.
    - Log4j 1.2 bridge adds org.apache.log4j.spi.NOPLoggerRepository
      and NOPLogger.
    - Log4j 1.2 bridge adds org.apache.log4j.spi.DefaultRepositorySelector.
    - Log4j 1.2 bridge implements LogManager.getCurrentLoggers()
      fully.
    - Log4j 1.2 bridge fixes parsing filters in properties
      configuration file #680.
    - Log4j 1.2 bridge missing OptionConverter.instantiateByKey(
      Properties, String, Class, Object).
    - Log4j 1.2 bridge class org.apache.log4j.spi.LoggingEvent
      missing constructors and public instance variable.
    - Log4j 1.2 bridge does not support system properties in log4j.xml.
    - Log4j 1.2 bridge now logs a warning instead of throwing an
      NullPointerException when building a Syslog appender with a
      missing "SyslogHost" param.
    - Log4j 1.2 bridge should allow property and XML attributes to
      start with either an upper-case or lower-case letter.
    - Log4j 1.2 bridge uses the wrong default values for a
      TTCCLayout.
    - Log4j 1.2 bridge throws ClassCastException when using
      SimpleLayout and others.
    - Log4j 1.2 bridge uses the wrong file pattern for rolling file
      appenders.
    - Log4j 1.2 bridge throws ClassCastException when using
      SimpleLayout and others.
    - Log4j 1.2 bridge creates a SocketAppender instead of a
      SyslogAppender.
    - Log4j 1.2 bridge uses some incorrect default property values
      in some appenders.
    - Log4j 1.2 bridge supports the SocketAppender.
    - Log4j 1.2 bridge missing DefaultThrowableRenderer.
    - Log4j 1.2 bridge missing some ThrowableInformation constructors.
    - Log4j 1.2 bridge missing some LocationInfo constructors.
    - Log4j 1.2 bridge missed
    - Log4j 1.2 bridge missed org.apache.log4j.pattern.FormattingInfo.
    - Log4j 1.2 bridge missed org.apache.log4j.pattern.NameAbbreviator.
    - Log4j 1.2 bridge missing UtilLoggingLevel.
    - Log4j 1.2 bridge missing FormattingInfo.
    - Log4j 1.2 bridge missing PatternConverter.
    - Log4j 1.2 bridge missing PatternParser.
    - Log4j 1.2 bridge issues with filters.
    - Log4j 1.2 bridge implements most of DOMConfigurator.
    - JndiManager reverts to 2.17.0 behavior: Read the system
      property for each call.
    - Configurator.setLevel not fetching the correct LoggerContext.
    - Fix DTD error: Add missing ELEMENT for Marker.
    - Fix log4j-jakarta-web service file.
    - AppenderLoggingException logging any exception to a MongoDB
      Appender.
    - Possible NullPointerException in MongoDb4DocumentObject,
      MongoDbDocumentObject, DefaultNoSqlObject.
    - Trim whitespace before parsing a String into an Integer.
    - Log4j 1.2 bridge throws a ClassCastException when logging a
      Map with non-String keys.
    - Log4j 1.2 bridge Check for non-existent appender when parsing
      properties #761. Thanks to Kenny MacLeod.
    - Log4j 1.2 bridge supports global threshold.
    * Changes
    - Change modifier of method
      org.apache.logging.log4j.core.tools.Generate#generate to
      public (was package private) to facilitate automated code
      generation.
* Tue Feb 22 2022 Fridrich Strba <fstrba@suse.com>
  - Remove alias log4j:log4j from log4j-1.2-api, since it is not a
    drop-in replacement

Files

/usr/share/doc/packages/log4j
/usr/share/doc/packages/log4j/NOTICE.txt
/usr/share/java/log4j
/usr/share/java/log4j/log4j-1.2-api.jar
/usr/share/java/log4j/log4j-api.jar
/usr/share/java/log4j/log4j-core.jar
/usr/share/java/log4j/log4j-docker.jar
/usr/share/java/log4j/log4j-iostreams.jar
/usr/share/java/log4j/log4j-jakarta-smtp.jar
/usr/share/java/log4j/log4j-jakarta-web.jar
/usr/share/java/log4j/log4j-jpl.jar
/usr/share/java/log4j/log4j-jul.jar
/usr/share/java/log4j/log4j-layout-template-json.jar
/usr/share/java/log4j/log4j-osgi.jar
/usr/share/java/log4j/log4j-to-jul.jar
/usr/share/licenses/log4j
/usr/share/licenses/log4j/LICENSE.txt
/usr/share/maven-metadata/log4j.xml
/usr/share/maven-poms/log4j
/usr/share/maven-poms/log4j/log4j-1.2-api.pom
/usr/share/maven-poms/log4j/log4j-api-java9.pom
/usr/share/maven-poms/log4j/log4j-api.pom
/usr/share/maven-poms/log4j/log4j-core-java9.pom
/usr/share/maven-poms/log4j/log4j-core.pom
/usr/share/maven-poms/log4j/log4j-docker.pom
/usr/share/maven-poms/log4j/log4j-iostreams.pom
/usr/share/maven-poms/log4j/log4j-jakarta-smtp.pom
/usr/share/maven-poms/log4j/log4j-jakarta-web.pom
/usr/share/maven-poms/log4j/log4j-jpl.pom
/usr/share/maven-poms/log4j/log4j-jul.pom
/usr/share/maven-poms/log4j/log4j-layout-template-json.pom
/usr/share/maven-poms/log4j/log4j-osgi.pom
/usr/share/maven-poms/log4j/log4j-to-jul.pom
/usr/share/maven-poms/log4j/log4j.pom


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Jan 7 22:21:35 2026