Cleaning and log_pipe old-style