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

Duo Zhang commented on LOG4J2-3341:
-----------------------------------

I've added

{code}
export HBASE_ROOT_LOGGER=INFO,DRFA,console
export HBASE_SECURITY_LOGGER=INFO,RFAS,console
{code}

to hbase-env.sh and the result is pretty good.

The log files are all created as expected, and both root logger and security 
logger have mirrored the output to console as well.

Thanks [~rgoers]. I think this is enough for hadoop and hbase to migrate to 
log4j2. Will start the work on both hadoop and hbase, and look forward on the 
2.17.2 release.

> Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command 
> line to set level and appenders at once
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-3341
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3341
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Duo Zhang
>            Assignee: Matt Sicker
>            Priority: Major
>             Fix For: 2.17.2
>
>         Attachments: log4j2.err, log4j2.properties
>
>
> Please see the discussion thread on the dev list.
> https://lists.apache.org/thread/gvfb3jkg6t11cyds4jmpo7lrswmx28w3
> The current direction is to introduce a new plugin to split the command line 
> argument.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to