Skip to content

Commit

Permalink
Merge pull request #696 from lenny-intel/remove-remote-logger
Browse files Browse the repository at this point in the history
feat: Removed remote/file logging feature
  • Loading branch information
lenny-goodell authored Dec 28, 2020
2 parents 93569ae + c3fceda commit 42e5a1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
10 changes: 0 additions & 10 deletions example/cmd/device-simple/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ Type = 'consul'
Host = 'localhost'
Port = 48081

[Clients.Logging]
Protocol = 'http'
Host = 'localhost'
Port = 48061

[Device]
DataTransform = true
InitCmd = ''
Expand All @@ -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'
Expand Down
3 changes: 0 additions & 3 deletions internal/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -69,7 +67,6 @@ func (c *ConfigurationStruct) GetBootstrap() bootstrapConfig.BootstrapConfigurat
Clients: c.Clients,
Service: c.Service.GetBootstrapServiceInfo(),
Registry: c.Registry,
Logging: c.Logging,
}
}

Expand Down
9 changes: 0 additions & 9 deletions openapi/v1/device-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -550,9 +544,6 @@ components:
RemoveCmd: ''
RemoveCmdArgs: ''
ProfilesDir: ./res/example
Logging:
EnableRemote: false
File: ./device-mqtt.log
Watchers: null
DeviceList:
- Name: MQ_DEVICE
Expand Down

0 comments on commit 42e5a1e

Please sign in to comment.