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

includeLocation doesn't work when using PropertiesConfiguration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Configurators
    • Labels:

      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

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              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