looking for rsync error in log and print appropriate error messages if there is any or else print success message