Skip to content

Commit

Permalink
Allow the log level of the v2 plugin to be configured
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Nov 19, 2017
1 parent ebbf3d4 commit 4b45df2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prog/net-plugin/launch.sh
Expand Up @@ -6,6 +6,7 @@ set -e
IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782}
LOG_LEVEL=${WEAVE_LOG_LEVEL:-debug}
HOST_ROOT=${HOST_ROOT:-/host}
WEAVE_DIR="/host/var/lib/weave"

Expand Down Expand Up @@ -44,7 +45,7 @@ exec /home/weave/weaver $EXTRA_ARGS --port=6783 $(router_bridge_opts) \
--no-dns \
--ipalloc-range=$IPALLOC_RANGE \
--nickname "$(hostname)" \
--log-level=debug \
--log-level=$LOG_LEVEL \
--db-prefix="$WEAVE_DIR/weave" \
--plugin-v2 \
$(multicast_opt) \
Expand Down

0 comments on commit 4b45df2

Please sign in to comment.