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

Provide a clean API to remove logger/appender configuration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Log4j v1 had a clean API to remove logger configuration.

      But, in log4j2, it is pretty difficult to figure out how one can clean the logger configuration unless they have an internal knowledge of log4j-core library.

      SO question - https://stackoverflow.com/questions/41629360/how-to-remove-appender-from-logger-in-log4j2-programmatically

       

      Please provide a clean API to remove logger/appender configuration with log4j2.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gaurav9822 gaurav
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: