diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-09-10 23:47:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-10 23:47:04 +0000 |
commit | 172bebb96ce3ef47f5514c5f7a9a2b70d583f31c (patch) | |
tree | 514b4c834e01da0a064536bd8f68ee6ed83c35b9 /src/orchestrator/pkg/infra/config/config.go | |
parent | dae8d6f81bf346b3e63d939081b80c269e925e50 (diff) | |
parent | 4759e43ff7f29727477b0d928047bf5ca283cef1 (diff) |
Merge "Add log level support for orchestrator"
Diffstat (limited to 'src/orchestrator/pkg/infra/config/config.go')
-rw-r--r-- | src/orchestrator/pkg/infra/config/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/orchestrator/pkg/infra/config/config.go b/src/orchestrator/pkg/infra/config/config.go index fca8bfbd..43191489 100644 --- a/src/orchestrator/pkg/infra/config/config.go +++ b/src/orchestrator/pkg/infra/config/config.go @@ -44,6 +44,7 @@ type Configuration struct { GrpcServerNameOverride string `json:"grpc-server-name-override"` ServicePort string `json:"service-port"` KubernetesLabelName string `json:"kubernetes-label-name"` + LogLevel string `json:"log-level"` } // Config is the structure that stores the configuration @@ -98,6 +99,8 @@ func defaultConfiguration() *Configuration { GrpcServerNameOverride: "", ServicePort: "9015", KubernetesLabelName: "orchestrator.io/rb-instance-id", + LogLevel: "warn", + } } |