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

The code example in manual/eventlogging.html has an error

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9
    • Fix Version/s: 2.0-rc1, 2.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      http://logging.apache.org/log4j/2.x/manual/eventlogging.html

      The code under "Sample class that uses EventLogger." contains a variable "data" which is not declared:

      EventLogger.logEvent(data);

        Attachments

          Activity

            People

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              hsorra Dongqing Hu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: