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

PropertiesConfigurationBuilder.createFilter exception message is incorrect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.11.0
    • None
    • Core
    • None

    Description

      PropertiesConfigurationBuilder.createFilter exception message is incorrect

      private FilterComponentBuilder createFilter(final String key, final Properties properties) {
      
              final String type = (String) properties.remove(CONFIG_TYPE);
              if (Strings.isEmpty(type)) {
                  //FIXME type attribute provided for Filter, not Appender
                  throw new ConfigurationException("No type attribute provided for Appender " + key);
      
              }
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            reion Reion Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h