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

Simplify Accumulo logging configuration

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: logger
    • Labels:
      None

      Description

      The current implementation of Accumulo logging configuration is confusing. There are several configuration files in the conf/ dir and it is hard to know which ones are used in which situation. With the refactoring of Accumulo's scripts in 2.0, it should be easier now to refactor Accumulo's logging. Below are some suggest improvements brought up during code reviews:

      Regarding generic_logger.properties...

      • Rather than produce these system properties in Accumulo code, we should use the log4j feature to do ${sys:HOSTNAME} (might be log4j2 only, but that's okay... we should switch to that)
      • Maybe we shouldn't enable the rolling file appender in the default configs. Users can add that if they want to. A better option would probably be to use the syslog appender by default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikewalch Mike Walch
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14h 50m
                  14h 50m