Capture logs from docker to troubleshoot dns_container_tester.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Security 2021-11-29
    • 30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      dnsmasq is run inside the container with output sent to stdout. But the container is run detached and so the logs are not captured. Docker provides configurable ways to capture the logs. We should capture them via `json-file` and then output the logs on failure or success.

      References:
      https://docs.docker.com/config/containers/logging/json-file/
      https://docs.docker.com/config/containers/logging/plugins/
      https://docs.docker.com/config/containers/logging/configure/

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: