Log4j 2
  1. Log4j 2
  2. LOG4J2-128

How do I set ConsoleAppender.setFollow(true) ?

    Details

    • Type: Question Question
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-beta4
    • Component/s: Appenders
    • Labels:
      None

      Description

      I need to reassign System.out and System.err after Log4j2 is configured.

      Log4j 1.2 supports ConsoleAppender.setFollow(true).
      If set, the appender honors reassignments of System.out or System.err made after configuration.

      How do I set this within Log4j2 ?

      Now, Log4j2 is still logging to Console even if I reassigned System.out and System.err before.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Armin Heinzer
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development