Share Volumes in a Swarm

Hi! I’ve a problem, im trying to create an Apache on docker swarm,
I am looking for that when apache is accessed, it registers in the logs, but they are all synchronized, not that depending on which replica is accessed, only appear in the log of that replica and not in all. How can I do that?


May be in your compose or stack file specify to send logs to a remote syslog server ? That way no matter the active container, you have a centralised view of what is happening :