[
https://issues.apache.org/jira/browse/ACCUMULO-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879041#comment-15879041
]
Christopher Tubbs commented on ACCUMULO-4588:
---------------------------------------------
Can also roll in the audit logs into the regular logging config. Initializing
logging twice internally really screws things up. If we're consistent about how
we publish the audit logs, users can configure their logging to record these
separately, if they wish.
> Simplify Accumulo logging configuration
> ---------------------------------------
>
> Key: ACCUMULO-4588
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4588
> Project: Accumulo
> Issue Type: Improvement
> Components: logger
> Reporter: Mike Walch
> Fix For: 2.0.0
>
>
> 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)