Logger doesn't respect bash output redirection

That’s just the way it’s defined by default:

But you can give it a new IO such as stdout - you do have to set the logger using global_logger in that case though. This will also log everything that’s logged to that single IO.