Correctly initialize logger with given streams