Azure / Azure/iotedge

Feature/Bug? agent and hub do not pick up the default logging options from the docker daemon.json.

Open
#7,463 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
473
Avg merge
2d 17h
Merged PRs (30d)
7

Description

Howdy. We are nearing PROD and just went through all of our log output directories. We noticed that, in contrast to this description here,

[https://learn.microsoft.com/en-us/azure/iot-edge/production-checklist#option-configure-the-default-logging-driver-for-all-container-modules](https://learn.microsoft.com/en-us/azure/iot-edge/production-checklist#option-configure-the-default-logging-driver-for-all-container-modules)

where we should be able to configure our logging options for all iot-edge modules in the docker daemon.json, it works for all of our own modules but not for the

azureiotedge-agent
azureiotedge-hub

However, when we configure the logging for these modules individually, explicitly, then it works.

OK, I could start scouring the sources, but can anybody explain this? Why doesn't the documented default in daemon.json work/apply to the agent and hub modules?

Is our fix, explicit config in each of those modules, necessary?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.