Skip to content

Commit

Permalink
Set default log level to info (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Kim <[email protected]>
  • Loading branch information
Oats87 authored Mar 3, 2022
1 parent b1f6ace commit b5710ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

# Environment variables:
# System Agent Variables
# - CATTLE_AGENT_LOGLEVEL (default: debug)
# - CATTLE_AGENT_LOGLEVEL (default: info)
# - CATTLE_AGENT_CONFIG_DIR (default: /etc/rancher/agent)
# - CATTLE_AGENT_VAR_DIR (default: /var/lib/rancher/agent)
# - CATTLE_AGENT_BIN_PREFIX (default: /usr/local)
Expand Down Expand Up @@ -305,7 +305,7 @@ setup_env() {
fi

if [ -z "${CATTLE_AGENT_LOGLEVEL}" ]; then
CATTLE_AGENT_LOGLEVEL=debug
CATTLE_AGENT_LOGLEVEL=info
else
CATTLE_AGENT_LOGLEVEL=$(echo "${CATTLE_AGENT_LOGLEVEL}" | tr '[:upper:]' '[:lower:]')
fi
Expand Down

0 comments on commit b5710ef

Please sign in to comment.