Log4j 2
  1. Log4j 2
  2. LOG4J2-353

Use consistent conventions in configuration files

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: None
    • Component/s: Configurators
    • Labels:
      None
    • Environment:

      Description

      Use consistent conventions in configuration files:

      • Elements are CamelCase
      • Attributes are camelCase

      This is just like ClassNames and instanceVariables in Java and other languages.

      Names with hyphens like "some-ref", become SomeRef for an element and someRef for an attribute.

      The current code is case-insensitive WRT configuration files and this issue does not address case-sensitivity. If you use XML validation, the configuration XSD expected the conventions listed above.

        Activity

        Hide
        Gary Gregory added a comment -

        I think this is done now.

        Show
        Gary Gregory added a comment - I think this is done now.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development