Elastic Logging Plugin for Docker
You can set the debug level to capture debugging output about the Elastic Logging Plugin. To set the debug level:
- Disable the plugin:
docker plugin disable elastic/elastic-logging-plugin:9.0.0-beta1
- Set the debug level:
docker plugin set elastic/elastic-logging-plugin:9.0.0-beta1 LOG_DRIVER_LEVEL=debug
LOG_DRIVER_LEVEL
aredebug
,info
,warning
, orerror
. - Enable the plugin:
docker plugin enable elastic/elastic-logging-plugin:9.0.0-beta1
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.