From afa8d85a154e4626e3c5528b6f1fb13fb00cbb69 Mon Sep 17 00:00:00 2001 From: ChrisSch <122783475+Christine-Schneidenwind@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:01:19 +0100 Subject: [PATCH] =?UTF-8?q?[bitnami/redis-cluster]=20add=20info=20level=20?= =?UTF-8?q?to=20logs=20Signed-off-by:=20Schneidenwind=20Christine=20(LDC)?= =?UTF-8?q?=20<=E2=80=A6=20(#52377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add info level to logs Signed-off-by: Schneidenwind Christine (LDC) Signed-off-by: Schneidenwind Christine (LDC) * use info instead of log Signed-off-by: Schneidenwind Christine (LDC) --------- Signed-off-by: Schneidenwind Christine (LDC) --- .../prebuildfs/opt/bitnami/scripts/libbitnami.sh | 10 +++++----- .../rootfs/opt/bitnami/scripts/librediscluster.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bitnami/redis-cluster/7.2/debian-11/prebuildfs/opt/bitnami/scripts/libbitnami.sh b/bitnami/redis-cluster/7.2/debian-11/prebuildfs/opt/bitnami/scripts/libbitnami.sh index 184de8a117e2..3853c789b2ea 100644 --- a/bitnami/redis-cluster/7.2/debian-11/prebuildfs/opt/bitnami/scripts/libbitnami.sh +++ b/bitnami/redis-cluster/7.2/debian-11/prebuildfs/opt/bitnami/scripts/libbitnami.sh @@ -44,10 +44,10 @@ print_welcome_page() { print_image_welcome_page() { local github_url="https://github.com/bitnami/containers" - log "" - log "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}" - log "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}" - log "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}" - log "" + info "" + info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}" + info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}" + info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}" + info "" } diff --git a/bitnami/redis-cluster/7.2/debian-11/rootfs/opt/bitnami/scripts/librediscluster.sh b/bitnami/redis-cluster/7.2/debian-11/rootfs/opt/bitnami/scripts/librediscluster.sh index 56371df22590..16daba0d8467 100644 --- a/bitnami/redis-cluster/7.2/debian-11/rootfs/opt/bitnami/scripts/librediscluster.sh +++ b/bitnami/redis-cluster/7.2/debian-11/rootfs/opt/bitnami/scripts/librediscluster.sh @@ -224,7 +224,7 @@ redis_cluster_update_ips() { newIP=$(wait_for_dns_lookup "${host_and_port[0]}" "$REDIS_DNS_RETRIES" 5) # The node can be new if we are updating the cluster, so catch the unbound variable error if [[ ${host_2_ip_array[$node]+true} ]]; then - echo "Changing old IP ${host_2_ip_array[$node]} by the new one ${newIP}" + info "Changing old IP ${host_2_ip_array[$node]} by the new one ${newIP}" nodesFile=$(sed "s/ ${host_2_ip_array[$node]}:/ $newIP:/g" "${REDIS_DATA_DIR}/nodes.conf") echo "$nodesFile" >"${REDIS_DATA_DIR}/nodes.conf" fi