-
Notifications
You must be signed in to change notification settings - Fork 13
Docker Logs weird behaviour #62
Comments
It seems that some pieces of the header are also displayed. Will have a look. |
Now the headers works fine and the first line displays. |
It now gets all the logs :) The only thing to remark is that I get this logged every time at the start: [pool-1-thread-1] ERROR java.io.InputStreamReader - Error while pumping stream. |
Will look at fixing that too then :) So close! |
Can you share a way to repro? Can't seem to hit it myself. |
A class with a big junit test that get the problem. Specs: |
When reading logs it seems like the first line is missing and some weird characters appear at the start of every line (if casting it to int I get the value 1).
My college also said that his last line is missing. My mongodb example does not illustrate that, will try to find a good example.
I attached how the logs looks with "docker logs" and how it looks with Java:
DockerLogs.txt
I tried using charsets of UTF-8 and US-ASCII to see if that helped but same result
The text was updated successfully, but these errors were encountered: