switch from null logging handler to stream