fix syslog test failed in the linux.