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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-rc1, 2.0
    • Documentation
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rpopma Remko Popma
            hsorra Dongqing Hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment