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

Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command line to set level and appenders at once

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.2
    • Configuration
    • None

    Description

      Please see the discussion thread on the dev list.

      https://lists.apache.org/thread/gvfb3jkg6t11cyds4jmpo7lrswmx28w3

      The current direction is to introduce a new plugin to split the command line argument.

      Attachments

        1. log4j2.properties
          5 kB
          Duo Zhang
        2. log4j2.err
          17 kB
          Duo Zhang

        Issue Links

          Activity

            People

              mattsicker Matt Sicker
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: