Attach logger to Console only when in terminal mode.

If *mb* is started in background Console logging should be disabled.
If not whole *mb* could hang when kernel buffer is full.
Ensuring one stdout write so grunt continues.