[
https://issues.apache.org/jira/browse/HBASE-25716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-25716:
------------------------------
Fix Version/s: 3.0.0-alpha-1
Hadoop Flags: Reviewed
Release Note: Added 'createOnDemand' for all the appenders to let them
only create log files when necessary. And since log4j2 appender will always
create the parent directory and the default location for http request log is
/var/log/hbase, we commented out in the log4j2.xml so it will not try to create
the directory by default. Users need to uncomment it when enabling http request
log.
> The configured loggers in log4j2.xml will always be created
> -----------------------------------------------------------
>
> Key: HBASE-25716
> URL: https://issues.apache.org/jira/browse/HBASE-25716
> Project: HBase
> Issue Type: Sub-task
> Components: logging
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1
>
>
> No matter whether they are referenced.
> So we will always create RFA log files even if we are using console appender,
> and since the default location for http request log is /var/log/hbase, we do
> not always have permission to create directory at this place so it may cause
> failure for UTs.
> We need to find a way to fix this problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)