I am working on a software running inside a docker container where the produced logs are mandatory in order to evaluate it later on.
My problem is that the command docker logs
is missing some log entries that are definetly logged by my software. I can verify the fact that its logging the messege by attaching to the container with docker attach
.
Basically docker attach
shows all entires in real time but docker logs
is only logging some of them without any recognisable pattern. All logs are written to stdout by the software.
Edit: I realised this behavior for other docker containers as well.