[ 
https://issues.apache.org/jira/browse/ACCUMULO-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879035#comment-15879035
 ] 

Christopher Tubbs commented on ACCUMULO-4588:
---------------------------------------------

Can leave the rolling file appender commented out in the default, so users have 
a sense of where to start looking if they aren't familiar with log4j options, 
but it doesn't have to be on by default out of the box.

> 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)

Reply via email to