stream: move loader to logger