diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-10-15 11:06:20 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-15 11:08:49 -0700 |
commit | 3f0532595679c388362203bbce1d4b6c4d2e336b (patch) | |
tree | 2692dd38d924f4449cd3ca8b86c9347110f49a77 /pkg/cpuid/cpuid_test.go | |
parent | 4ea69fce8def9e030cbbc4d803b95e632175750c (diff) |
Never send boot process stdio to application stdio.
We treat handle the boot process stdio separately from the application stdio
(which gets passed via flags), but we were still sending both to same place. As
a result, some logs that are written directly to os.Stderr by the boot process
were ending up in the application logs.
This CL starts sendind boot process stdio to the null device (since we don't
have any better options). The boot process is already configured to send all
logs (and panics) to the log file, so we won't miss anything important.
PiperOrigin-RevId: 217173020
Change-Id: I5ab980da037f34620e7861a3736ba09c18d73794
Diffstat (limited to 'pkg/cpuid/cpuid_test.go')
0 files changed, 0 insertions, 0 deletions