Class SpringProfileArbiter

  • java.lang.Object
    • org.apache.logging.log4j.spring.boot.SpringProfileArbiter
  • All Implemented Interfaces:
    org.apache.logging.log4j.core.config.arbiters.Arbiter


    @Plugin(name="SpringProfile",
            category="Core",
            elementType="Arbiter",
            deferChildren=true,
            printObject=true)
    public class SpringProfileArbiter
    extends java.lang.Object
    implements org.apache.logging.log4j.core.config.arbiters.Arbiter
    An Aribter that uses the active Spring profile to determine if configuration should be included.
    • Method Detail

      • isCondition

        public boolean isCondition​()
        Specified by:
        isCondition in interface org.apache.logging.log4j.core.config.arbiters.Arbiter

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.