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

While using multiple appenders ,can we stop logging to a particular single appender once reached a particular logger message.

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Appenders, Filters
    • Labels:
      None

      Description

      We are using log4j2 for logging. We have configured jdbc appender, rolling appender and console appender for logging of complete application.

      Once we receive logger message as application is deployed, we want to stop console appender in further logging details, and rolling appender ,console appender to go with further logging.

      Gone through filters and other configuration didnt ended up with solution.

      Please advise a solution for this.Thanks in advance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              SureshA Suresh Auduru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: