changed logging for pipe