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. 
Use case and problem description could be found in [gist: Starting MounteBank from Gradle task ](https://gist.github.com/zedar/66a38d9548b7eeb0a491).