Troubleshoot

edit

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:8.16.2
  2. Set the debug level:

    docker plugin set elastic/elastic-logging-plugin:8.16.2 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:8.16.2

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.