Troubleshootedit

You can set the debug level to capture debugging output about the Elastic Logging Plugin. To set the debug level:

  1. Disable the plugin:

    docker plugin disable elastic/elastic-logging-plugin:7.11.1
  2. Set the debug level:

    docker plugin set elastic/elastic-logging-plugin:7.11.1 LOG_DRIVER_LEVEL=debug

    Where valid settings for LOG_DRIVER_LEVEL are debug, info, warning, or error.

  3. Enable the plugin:

    docker plugin enable elastic/elastic-logging-plugin:7.11.1

To view the logs:

On Linux, the Elastic Logging Plugin logs are written to the same location as other docker logs, typically the system journal.

On MacOS, locating the logs is more complicated. For more information, see the Debugging on MacOS section in the readme file.