Class DefaultConfiguration

All Implemented Interfaces:
Configuration, Filterable, LifeCycle, LifeCycle2

public class DefaultConfiguration extends AbstractConfiguration
The default configuration writes all output to the Console using the default logging level. You configure default logging level by setting the system property "org.apache.logging.log4j.level" to a level name. If you do not specify the property, Log4j uses the ERROR Level. Log Events will be printed using the basic formatting provided by each Message.
  • Field Details


      public static final String DEFAULT_NAME
      The name of the default configuration.
      See Also:

      public static final String DEFAULT_LEVEL
      The System Property used to specify the logging level.
      See Also:

      public static final String DEFAULT_PATTERN
      The default Pattern used for the default Layout.
      See Also:
  • Constructor Details

    • DefaultConfiguration

      public DefaultConfiguration()
      Constructor to create the default configuration.
  • Method Details