refactor: Moved succes/error-logging to outer stream-definitions