Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-729

Emit warning message to console if no config file found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.2
    • Configurators
    • None

    Description

      In a situation where no Jackson library has been added to the classpath of the project, if there is a log4j2.json file, the logger will silently use the default configuration, ignoring any log4j2.xml file that would also be available in the project.

      Instead, log4j should either use the log4j2.xml file for configuration, or some error message should be displayed, to show that log4j2.json could not be read, and that the default configuration is used.

      Attachments

        Issue Links

          Activity

            People

              rpopma Remko Popma
              ckarmann Cyrille Karmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: