Fix the script issue in the syslog enchancement test suite