Log4j 2
  1. Log4j 2
  2. LOG4J2-141

Documentation is lacking info about valid status levels

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-rc2
    • Component/s: None
    • Labels:
      None

      Description

      http://logging.apache.org/log4j/2.x/manual/configuration.html#Configuration_with_XML
      "The level of internal Log4j events that should be logged to the console." should contain a list of all valid status levels.

      The same is the case further down the document at http://logging.apache.org/log4j/2.x/manual/configuration.html#StatusMessages

      I understand that the StatusLogger is just a normal Logger so I assume that "trace", "debug", etc. are valid values - but I don't know and the documentation isn't telling me.

      A list of all valid values, preferably quite at the start of the configuration documentation, would help a lot.

        Activity

        Hide
        Gary Gregory added a comment -

        Feel free to provide a patch to best help other users

        Show
        Gary Gregory added a comment - Feel free to provide a patch to best help other users
        Hide
        Remko Popma added a comment - - edited

        Fixed in revision 1604173 and 1604175.
        Please verify and close.

        Show
        Remko Popma added a comment - - edited Fixed in revision 1604173 and 1604175. Please verify and close.
        Hide
        Joern Huxhorn added a comment -

        The "is one of the first things tools available" should be "is one of the first tools available". Beside that it's good.

        Show
        Joern Huxhorn added a comment - The "is one of the first things tools available" should be "is one of the first tools available". Beside that it's good.
        Hide
        Remko Popma added a comment -

        Nice catch, thank you!
        Fixed in revision 1604303.

        Show
        Remko Popma added a comment - Nice catch, thank you! Fixed in revision 1604303.

          People

          • Assignee:
            Remko Popma
            Reporter:
            Joern Huxhorn
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development