Skip to content

Commit

Permalink
Logging update
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Zeithaml <[email protected]>
  • Loading branch information
Martin-Zeithaml committed Aug 23, 2024
2 parents 370952a + 21dedf5 commit 881ba5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/utils/setup-logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ else
if [ -z "${ZWE_zowe_runtimeDirectory}" ]; then
ZWED_NODE_LOG_DIR="../log"
else
echo "Cannot determine the log directory. Logging disabled."
ZWED_NODE_LOG_DIR=
ZWED_NODE_LOG_FILE=/dev/null
fi
Expand All @@ -38,7 +37,7 @@ else
ZWED_NODE_LOG_FILE=$ZWED_NODE_LOG_DIR
elif [ ! -d "$ZWED_NODE_LOG_DIR" ]
then
if [ -n "${ZWED_NODE_LOG_DIR}" ]; then
if [ -n "$ZWED_NODE_LOG_DIR" ]; then
echo "Will make log directory $ZWED_NODE_LOG_DIR"
mkdir -p $ZWED_NODE_LOG_DIR
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 881ba5e

Please sign in to comment.