Logging: Fix logging of errors under PIPELINING