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

includeLocation doesn't work when using PropertiesConfiguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Configurators

    Description

      When using AsyncLoggerContextSelector, the default value of the includeLocation is false.
      This can be changed by setting "includeLocation=true" in the configuration of the relevant loggers.
      But it doesn't work when using properties as the configuration, because the method of createRootLogger in PropertiesConfiguration ignores the includeLocation issues which causing no lineNum shows

      Attachments

        Activity

          People

            rgoers Ralph Goers
            turbid1989 turbid1989
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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