root@ubuntu:/home/zkq/Downloads/edinburgh# docker-compose logs -f device-modbus
Attaching to edgex-device-modbus
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.347691415Z app=edgex-device-modbus source=config.go:219 msg="Loaded configuration from /res/docker/configuration.toml"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.399158697Z app=edgex-device-modbus source=config.go:112 msg="Config Provider URL created from Registry configuration"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.414804097Z app=edgex-device-modbus source=config.go:167 msg="Using Configuration provider (consul) from: http://edgex-core-consul:8500 with base path of edgex/devices/1.0/edgex-device-modbus"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.913274902Z app=edgex-device-modbus source=config.go:330 msg="Configuration has been pushed to into Configuration Provider (0 environment overrides applied)"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.914172183Z app=edgex-device-modbus source=registry.go:79 msg="Using Registry (consul) from http://edgex-core-consul:8500"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:54.997753413Z app=edgex-device-modbus source=httpserver.go:99 msg="Web server starting (0.0.0.0:49991)"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.000940152Z app=edgex-device-modbus source=init.go:134 msg="Check Metadata service's status via Registry..."
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.002213917Z app=edgex-device-modbus source=init.go:134 msg="Check Data service's status via Registry..."
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.047448576Z app=edgex-device-modbus source=init.go:42 msg="Service clients initialize successful."
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.061234935Z app=edgex-device-modbus source=service.go:83 msg="Device Service edgex-device-modbus doesn't exist, creating a new one"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.068012488Z app=edgex-device-modbus source=service.go:140 msg="Addressable edgex-device-modbus doesn't exist, creating a new one"
edgex-device-modbus | level=ERROR ts=2020-10-31T17:28:55.198251001Z app=edgex-device-modbus source=profiles.go:180 msg="Error when retrieving EnableValueDescriptorManagement configuration from Core Metadata: map[LogLevel:INFO]"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.425458513Z app=edgex-device-modbus source=message.go:50 msg="Service dependencies resolved..."
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.425823592Z app=edgex-device-modbus source=autodiscovery.go:19 msg="AutoDiscovery stopped: disabled by configuration"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.428511364Z app=edgex-device-modbus source=message.go:51 msg="Starting edgex-device-modbus 1.0.0 "
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.449331321Z app=edgex-device-modbus source=message.go:55 msg="device modbus started"
edgex-device-modbus | level=INFO ts=2020-10-31T17:28:55.459066101Z app=edgex-device-modbus source=message.go:58 msg="Service started in: 1.125770971s"
|
@21ic小管家 给个编辑推荐吧 原创