summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-08-24 17:30:13 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-08-24 19:53:00 -0700
commitb4d6d62b5f613ed540c6d5e199c25fbffd3c2abe (patch)
treead3ce155c9e02c33348cf816e12e652f7791d4d0 /lib
parent66e4f6c8d95bb0e45d9220ce190e2139414ff328 (diff)
downloadmixlib-shellout-b4d6d62b5f613ed540c6d5e199c25fbffd3c2abe.tar.gz
Drop the shell_out logging down to trace level
This has to have been an oversight when thom created the trace level, since live stdout logging produces a lot of output. We also need this for adding live stdout logging for ohai which produces a lot of output, where trace is certainly more appropriate and makes the debug level difficult to read. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/mixlib/shellout/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/helper.rb b/lib/mixlib/shellout/helper.rb
index 4543cf1..d6d5963 100644
--- a/lib/mixlib/shellout/helper.rb
+++ b/lib/mixlib/shellout/helper.rb
@@ -157,7 +157,7 @@ module Mixlib
end
def __io_for_live_stream
- if STDOUT.tty? && !__config[:daemon] && __log.debug?
+ if STDOUT.tty? && !__config[:daemon] && __log.trace?
STDOUT
else
nil