org.apache.logging.log4j.jul

Class Constants



  • public final class Constants
    extends Object
    Constants for the JUL adapter.
    Since:
    2.1
    • Field Detail

      • LOGGER_ADAPTOR_PROPERTY

        public static final String LOGGER_ADAPTOR_PROPERTY
        Name of the Log4j property to set to override the AbstractLoggerAdapter to be used. By default, when this property is not set, an appropriate LoggerAdaptor is chosen based on the presence of log4j-core.
        See Also:
        Constant Field Values
      • LEVEL_CONVERTER_PROPERTY

        public static final String LEVEL_CONVERTER_PROPERTY
        The Log4j property to set to a custom implementation of LevelConverter. The specified class must have a default constructor.
        See Also:
        Constant Field Values

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.