Skip to content

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

@hubert-associates

Description

@hubert-associates

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

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions