Class PropertiesUtilPropertyEnvironment

java.lang.Object
org.apache.logging.log4j.kit.env.support.BasicPropertyEnvironment
org.apache.logging.log4j.kit.env.internal.PropertiesUtilPropertyEnvironment
All Implemented Interfaces:
PropertyEnvironment

public class PropertiesUtilPropertyEnvironment extends BasicPropertyEnvironment
An adapter of the PropertiesUtil from Log4j API 2.x.

Since PropertiesUtil requires all properties to start with log4j2., we must add the prefix before querying for the property.

  • Field Details

  • Constructor Details

    • PropertiesUtilPropertyEnvironment

      public PropertiesUtilPropertyEnvironment(org.apache.logging.log4j.util.PropertiesUtil propsUtil, org.apache.logging.log4j.Logger statusLogger)
  • Method Details