Skip to content

Commit

Permalink
default log to stderr to true if log to host is false
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Mar 11, 2024
1 parent ae42d51 commit 3597422
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions container_files/usr-local-bin/libraryPrep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,15 @@ prep_finishBegin() {
export GROUPER_LOG_TO_HOST=false
fi
if [ -z "$GROUPER_LOG_TO_STDERR" ] ; then
echo "grouperContainer; INFO: (librarySetupFiles.sh-setupFiles_analyzeOriginalFiles) export GROUPER_LOG_TO_STDERR=true"
export GROUPER_LOG_TO_STDERR=true
if [ "$GROUPER_LOG_TO_HOST" = "true" ]; then
echo "grouperContainer; INFO: (librarySetupFiles.sh-setupFiles_analyzeOriginalFiles) export GROUPER_LOG_TO_STDERR=false"
export GROUPER_LOG_TO_STDERR=false
else
echo "grouperContainer; INFO: (librarySetupFiles.sh-setupFiles_analyzeOriginalFiles) export GROUPER_LOG_TO_STDERR=true"
export GROUPER_LOG_TO_STDERR=true
fi
fi


}

prep_finishEnd() {
Expand Down

0 comments on commit 3597422

Please sign in to comment.