Description
In file ranger-tagsync-services.sh,we can find -Dlogback.configurationFile not configurable
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 &
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.
Attachments
Attachments
Issue Links
- links to