Skip to content

Commit

Permalink
environment variable to configure waggle-dance loglevel (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Raj Poluri <rpoluri@expediagroup.com>
  • Loading branch information
rpoluri and Raj Poluri authored Mar 30, 2021
1 parent b4b7de4 commit bbd19ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.8.1] - 2021-03-30
### Added
- Environment variable to configure waggle-dance log level.

## [1.8.0] - 2021-03-18
### Added
- Add apiary extensions hive-hook jar to replace s3 paths as alluxio paths.
Expand Down
2 changes: 2 additions & 0 deletions scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ source "${WAGGLE_DANCE_HOME}"/service/waggle-dance-core-latest-exec.conf

[[ -n $HIVE_SITE_XML ]] && echo $HIVE_SITE_XML|base64 -d > ${WAGGLE_DANCE_HOME}/jars/hive-site.xml

sed "s/level=\".*\"/level=\"${LOGLEVEL:-info}\"/" -i /opt/waggle-dance/conf/log4j2.xml

exec java $JAVA_OPTS -jar "${WAGGLE_DANCE_HOME}"/service/waggle-dance-core-latest-exec.jar $RUN_ARGS

0 comments on commit bbd19ee

Please sign in to comment.