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

Madhan Neethiraj resolved RANGER-4124.
--------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

[~yaolei]  - thank you for the patch. It is now merged in master branch.

 
{noformat}
commit cdc873177c4a0289826eff0b74df72d0d04b6d27 (HEAD -> master, origin/master, 
origin/HEAD)
Author: Yao Lei <[email protected]>
Date:   Wed Mar 8 10:53:18 2023 +0800

    RANGER-4124: value of -Dlogback.configurationFile in 
ranger-tagsync-services.sh is not configurable

    Signed-off-by: Madhan Neethiraj <[email protected]>{noformat}

> Value of -Dlogback.configurationFile in ranger-tagsync-services.sh  is not 
> configurable
> ---------------------------------------------------------------------------------------
>
>                 Key: RANGER-4124
>                 URL: https://issues.apache.org/jira/browse/RANGER-4124
>             Project: Ranger
>          Issue Type: Improvement
>          Components: tagsync
>            Reporter: Lei Yao
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: 
> 0001-RANGER-4124-Value-of-Dlogback.configurationFile-in-r.patch
>
>
> In file ranger-tagsync-services.sh,we can find -Dlogback.configurationFile 
> not configurable
> {code:java}
> nohup java -Dproc_rangertagsync ${JAVA_OPTS} 
> -Dlogdir="${RANGER_TAGSYNC_LOG_DIR}" 
> -Dlogback.configurationFile=file:/etc/ranger/tagsync/conf/logback.xml -cp 
> "${cp}" org.apache.ranger.tagsync.process.TagSynchronizer  > 
> ${RANGER_TAGSYNC_LOG_DIR}/tagsync.out 2>&1 &
> {code}
> Like  usersync, suggest add variable TAGSYNC_CONF_DIR  and set  
> -Dlogback.configurationFile=file:${TAGSYNC_CONF_DIR}/logback.xml
> After applying this patch, we can support customization setting for 
> logback.xml location in cluster management tools like Ambari.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to