From b4d6d62b5f613ed540c6d5e199c25fbffd3c2abe Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 24 Aug 2020 17:30:13 -0700 Subject: 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 --- lib/mixlib/shellout/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1