implement the LOG_PERROR option in syslog