Add_loging_with_pipws