-
Notifications
You must be signed in to change notification settings - Fork 276
Set envoy log level as error to default in OSM #1679
Set envoy log level as error to default in OSM #1679
Conversation
@@ -30,6 +30,7 @@ IMAGE_PULL_POLICY="${IMAGE_PULL_POLICY:-Always}" | |||
ENABLE_EGRESS="${ENABLE_EGRESS:-false}" | |||
MESH_CIDR=$(./scripts/get_mesh_cidr.sh) | |||
DEPLOY_WITH_SAME_SA="${DEPLOY_WITH_SAME_SA:-false}" | |||
ENVOY_LOG_LEVEL="${ENVOY_LOG_LEVEL:-debug}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the default be error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the local development runs and the CI no, so that we can override the defaults in the install cli. Otherwise it would make it hard to debug CI failures.
We could set it to error
here and override using env variables, but most use cases of the automated demo script are from CI and local development runs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some comments inline regarding validation and unit tests.
2fc73be
to
31dfa01
Compare
@@ -104,6 +104,10 @@ export BOOKWAREHOUSE_NAMESPACE=bookwarehouse | |||
# optional: Whether to deploy traffic split policy or not | |||
# Default: true | |||
# export DEPLOY_TRAFFIC_SPLIT=true | |||
|
|||
# optional: specify the log level for the enovy's | |||
# Default: debug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Default: debug | |
# Default: error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is reflecting the default value for the demo script which is debug
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
159692b
This PR :
error
when OSM is installedenvoy-log-level
as an install feature flag so that the demo and cli can run in the debug mode for envoyPlease mark with X for applicable areas.
Please answer the following questions with yes/no.
no