-
Notifications
You must be signed in to change notification settings - Fork 18
docker4x/logger-azure:azure-v1.13.0-1 logs also to docker daemon #6
Comments
The logger's job is to accumulate the logs from the different services and send them to the azure storage.
You could get duplicate logs, if logspout also captured the logs from the
Will output the logs it received from other containers on that host. This bit from the logspout docs is interesting:
Since the logging driver use doesn't work for |
I like to collect logs directly from my containers -- that way my logs have the container information as context. In order to make this happen, I start up each of my services with Based on your explanation, presumably everything that is being logged by every container not explicitly started with So if I'm understanding correctly, the good bit is that there won't be duplicates, because containers that I have explicitly set the log driver for won't ever be seen by editions_logger. Everything else gets sent to editions_logger, and then from there it gets written to Azure storage as well (currently) to my logging backend via logspout. I created issue gliderlabs/logspout#258 for adding container exclusions to logspout -- this would probably be the best solution to allow me to avoid sending logs collected by editions_logger to my logging backend, if I want to turn that off. If all of the above makes sense, feel free to close this! Thanks. |
@rocketraman that's exactly right! I didn't know that logspout couldn't exclude certain containers. I'll close the issue but feel free to add comments (or re-open it) if needed. |
Any word on the opt-out of the built in log forwarder? Seems like it's hogging the syslog daemon which makes integration with external logging services difficult. |
@pewallin Should be out with our next stable release |
The container with image
docker4x/logger-azure:azure-v1.13.0-1
presumably is responsible for writing logs to Azure storage. However, it also appears to write logs to the docker daemon. Does this mean that the logs are duplicated in multiple places: in the docker storage as well as to the log storage? I uselogspout
to send my docker daemon logs to elasticsearch, and I have a lot of irrelevant output fromeditions_logger
ending up in ES.The text was updated successfully, but these errors were encountered: