A Docker plugin for Papertrail to send and read container logs. As a SolarWinds Innovation Project, this adapter is supported in a best-effort fashion.
Since the driver is being shared amongst the handlers for the lifetime of the plugin, it can't be holding onto file/container-specific logging state, which it is prior to this patch. The ReadLogs function still depends on loopFactor and I haven't determined whether or not that needs to change but likely so. If so, it will be in a separate PR.
This fixes a bug described here:
Since the driver is being shared amongst the handlers for the lifetime of the plugin, it can't be holding onto file/container-specific logging state, which it is prior to this patch. The
ReadLogs
function still depends onloopFactor
and I haven't determined whether or not that needs to change but likely so. If so, it will be in a separate PR.