Add logging stream losses option (issue #3120)