You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Walch (JIRA)" <ji...@apache.org> on 2017/02/17 15:49:41 UTC

[jira] [Created] (ACCUMULO-4588) Simplify Accumulo logging configuration

Mike Walch created ACCUMULO-4588:
------------------------------------

             Summary: Simplify Accumulo logging configuration
                 Key: ACCUMULO-4588
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4588
             Project: Accumulo
          Issue Type: Improvement
          Components: logger
    Affects Versions: 2.0.0
            Reporter: Mike Walch


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)