Hush stdout logging unless we are running from a console

Change-Id: I507936f8f0f4900f2fa45fdc367cabb863a6352c