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

Use consistent conventions in configuration files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: