stern icon indicating copy to clipboard operation
stern copied to clipboard

Interleaved log output

Open sebastianvoss opened this issue 7 years ago • 6 comments

When pods are emitting logs simultaneously the output is sometimes interleaved. This makes it very hard to read the output of stern. I'm using version 1.10.0 (k8s cluster AWS EKS version 2).

Sample output:

my-deployment-6854597977-8ffc6 my-app my-deployment-6854597977-bzmw9 23:25:41.614 [blaze-selector-0-3] INFO  org.http4s.blaze.channel.nio1.NIO1SocketServerGroup - Accepted connection from /xxx:61213
my-app 23:25:41.614 [blaze-selector-0-0] INFO  org.http4s.blaze.channel.nio1.NIO1SocketServerGroup - Accepted connection from /xxx:47462

Should be:

my-deployment-6854597977-8ffc6 my-app 23:25:41.614 [blaze-selector-0-3] INFO  org.http4s.blaze.channel.nio1.NIO1SocketServerGroup - Accepted connection from /xxx:61213
my-deployment-6854597977-bzmw9 my-app 23:25:41.614 [blaze-selector-0-0] INFO  org.http4s.blaze.channel.nio1.NIO1SocketServerGroup - Accepted connection from /xxx:47462

sebastianvoss avatar Nov 19 '18 23:11 sebastianvoss