OpenShift


Standard out log getting botched

Very often, I see this with Java processes with a lot of output:

[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM

The all too important standard out log is lost in the midst of /dev/null since the standard out file descriptor is pointing to a pipe which takes the data outside of the container:

$ ls -l /proc/174/fd/1
l-wx------. 1 1000970000 root 64 May 25 12:04 /proc/174/fd/1 -> 'pipe:[65159221]'

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐦 @torsteinkrause ~