Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-674

Convert default log4j to use log4j date formatters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.1
    • 1.4.2
    • scripts

    Description

      This is a small change.

      http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html conversion character d-
      "For better results it is recommended to use the log4j date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormat, DateTimeDateFormat and respectively ISO8601DateFormat. For example, %d

      {ISO8601}

      or %d

      {ABSOLUTE}

      . "

      So we should switch our date, as we could get better performance out of the logging.

      Attachments

        1. ACCUMULO-674-1.patch
          21 kB
          Dave Marion

        Activity

          People

            dlmarion Dave Marion
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: