Class PaxPropertySource

  • All Implemented Interfaces:
    org.apache.logging.log4j.util.PropertySource

    public class PaxPropertySource
    extends Object
    implements org.apache.logging.log4j.util.PropertySource
    High priority PropertySource to ensure that user won't turn on (or off) anything that could break pax-logging-log4j2. See SystemProperties
    • Field Detail

      • debug

        public static boolean debug
      • defaultLevel

        public static String defaultLevel
      • fileConfiguration

        public static String fileConfiguration
    • Constructor Detail

      • PaxPropertySource

        public PaxPropertySource()
    • Method Detail

      • updateFileConfiguration

        public static void updateFileConfiguration​(String fileName)
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface org.apache.logging.log4j.util.PropertySource
      • getPropertyNames

        public Collection<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.apache.logging.log4j.util.PropertySource
      • getProperty

        public String getProperty​(String key)
        Specified by:
        getProperty in interface org.apache.logging.log4j.util.PropertySource
      • forEach

        public void forEach​(org.apache.logging.log4j.util.BiConsumer<String,​String> action)
        Specified by:
        forEach in interface org.apache.logging.log4j.util.PropertySource
      • containsProperty

        public boolean containsProperty​(String key)
        Specified by:
        containsProperty in interface org.apache.logging.log4j.util.PropertySource
      • getNormalForm

        public CharSequence getNormalForm​(Iterable<? extends CharSequence> tokens)
        Specified by:
        getNormalForm in interface org.apache.logging.log4j.util.PropertySource