Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing log lines #6

Closed
faryon93 opened this issue Feb 9, 2019 · 1 comment
Closed

missing log lines #6

faryon93 opened this issue Feb 9, 2019 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@faryon93
Copy link

faryon93 commented Feb 9, 2019

Hi,
it seems logspout is not able to capture all logs produced by docker. From time to time some log lines are missing in LogDNA.

If I choose INACTIVITY_TIMEOUT=5s all logs make it through, but every ~5s the CPU usage spikes at 100% due to docker parsing all logfiles (see gliderlabs/logspout#246).
Setting TAIL=0 is resulting in lower CPU usage, but some log lines are missing.

All containers are running on a Docker Swarm cluster.
Docker: 18.09.1
Docker log-driver: json-file
logspout: v3.2.6-custom (https://hub.docker.com/r/logdna/logspout)

Do you hav any idea how to properly send all log lines without risking high CPU usage? Or is there another way to get Docker Swarm container logs to LogDNA?

Kind regards,
Maxi

@smusali smusali self-assigned this Feb 9, 2019
@smusali smusali added the help wanted Extra attention is needed label Feb 9, 2019
@smusali
Copy link
Contributor

smusali commented Feb 26, 2020

@faryon93, sorry for the very late response!

Missing logs might be happening due to the lack of stability during that time. Since last year we have improved it a lot and recently released the newest and more stable LogDNA LogSpout v1.2 image.

Please, let us know if you are still having the same issue.

@smusali smusali closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants