solarwinds / docker-plugin-papertrail

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.
https://hub.docker.com/r/solarwinds/papertrail-plugin/
Apache License 2.0
12 stars 3 forks source link

Swarm mode -- sender based on hostname #5

Open gaba-xyz opened 6 years ago

gaba-xyz commented 6 years ago

It looks like the log sender will be the node hostname at least in the case where the container is running as a Swarm service which is a bit problematic when you want to separate the systems per container. I would expect the logging driver to use the container hostname which would mean that each service would be counted as a separate sender but that does not seem to be the case.

Steps to reproduce are fairly simple start 2 separate swarm services with the same papertrail url and token.