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

PluginBuilder.build() looses reason for error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6
    • None
    • None

    Description

      When doing an error in configurating for a plugin an IllegalStateException is produced (e.g. RollingFileAppender without a date pattern in filePattern).

      The IllegalStateException contains in the error message the reason for the exception ('Pattern does not contain a date'), but this information gets lost in PluginBuilder.build() and is also never logged, even on trace level in configuration.

      Attachments

        Issue Links

          Activity

            People

              rpopma Remko Popma
              bmaehr Bernhard Mähr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: