diff --git a/example/cmd/device-simple/res/configuration.toml b/example/cmd/device-simple/res/configuration.toml index 8b6202d4..2092c37e 100644 --- a/example/cmd/device-simple/res/configuration.toml +++ b/example/cmd/device-simple/res/configuration.toml @@ -30,11 +30,6 @@ Type = 'consul' Host = 'localhost' Port = 48081 - [Clients.Logging] - Protocol = 'http' - Host = 'localhost' - Port = 48061 - [Device] DataTransform = true InitCmd = '' @@ -49,11 +44,6 @@ Type = 'consul' Enabled = false Interval = '30s' -# Remote and file logging disabled so only stdout logging is used -[Logging] -EnableRemote = false -File = '' - # Pre-define Devices [[DeviceList]] Name = 'Simple-Device01' diff --git a/internal/common/config.go b/internal/common/config.go index cdc98647..d6ca5afe 100644 --- a/internal/common/config.go +++ b/internal/common/config.go @@ -16,8 +16,6 @@ type ConfigurationStruct struct { Writable WritableInfo // Clients is a map of services used by a DS. Clients map[string]bootstrapConfig.ClientInfo - // Logging contains logging-specific configuration settings. - Logging bootstrapConfig.LoggingInfo // Registry contains registry-specific settings. Registry bootstrapConfig.RegistryInfo // Service contains DeviceService-specific settings. @@ -69,7 +67,6 @@ func (c *ConfigurationStruct) GetBootstrap() bootstrapConfig.BootstrapConfigurat Clients: c.Clients, Service: c.Service.GetBootstrapServiceInfo(), Registry: c.Registry, - Logging: c.Logging, } } diff --git a/openapi/v1/device-sdk.yaml b/openapi/v1/device-sdk.yaml index 30290d2b..99f9f565 100644 --- a/openapi/v1/device-sdk.yaml +++ b/openapi/v1/device-sdk.yaml @@ -529,12 +529,6 @@ components: Port: 48080 Protocol: http Timeout: 50000 - Logging: - Name: edgex-support-logging - Host: localhost - Port: 48061 - Protocol: http - Timeout: 0 Metadata: Name: edgex-core-metadata Host: localhost @@ -550,9 +544,6 @@ components: RemoveCmd: '' RemoveCmdArgs: '' ProfilesDir: ./res/example - Logging: - EnableRemote: false - File: ./device-mqtt.log Watchers: null DeviceList: - Name: MQ_DEVICE