[ 
https://issues.apache.org/jira/browse/ACCUMULO-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Elser updated ACCUMULO-2311:
---------------------------------

    Description: 
When running an Accumulo minicluster, the classpath is primarily pulled from 
the invoking application. What this also includes is log4j configuration.

As such, the normal structure of log files isn't present ($process.out, 
$process.err, $process.log, and $process.debug.log) because we don't presently 
set {{ACCUMULO_CONF_DIR}} and don't build/include a log4j.properties, 
$app_logger.xml, or generic_logger.xml.

We should at a minimum ensure that the Accumulo processes can at least 
initialize log4j properly and get logging working. Would setting the log4j 
configuration that we have in our examples be overkill for the minicluster? 
Should we let the user override that configuration with their own logging 
configuration?

  was:
When running an Accumulo minicluster, the classpath is primarily pulled from 
the invoking application. What this also includes is log4j configuration.

As such, the normal structure of log files isn't present (${process}.out, 
${process}.err, ${process}.log, and ${process}.debug.log) because we don't 
presently set {{ACCUMULO_CONF_DIR}}.

We should at a minimum ensure that the Accumulo processes can at least 
initialize log4j properly and get logging working. Would setting the log4j 
configuration that we have in our examples be overkill for the minicluster? 
Should we let the user override that configuration with their own logging 
configuration?


> Create better logging configuration for minicluster
> ---------------------------------------------------
>
>                 Key: ACCUMULO-2311
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2311
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini
>            Reporter: Josh Elser
>
> When running an Accumulo minicluster, the classpath is primarily pulled from 
> the invoking application. What this also includes is log4j configuration.
> As such, the normal structure of log files isn't present ($process.out, 
> $process.err, $process.log, and $process.debug.log) because we don't 
> presently set {{ACCUMULO_CONF_DIR}} and don't build/include a 
> log4j.properties, $app_logger.xml, or generic_logger.xml.
> We should at a minimum ensure that the Accumulo processes can at least 
> initialize log4j properly and get logging working. Would setting the log4j 
> configuration that we have in our examples be overkill for the minicluster? 
> Should we let the user override that configuration with their own logging 
> configuration?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to