closelog
Close the system log link
closelog()
function closes the connection to the system logger.
Turn on and close the connection to the system logger:
<?php function _log ( $text ) { openlog ( "phperrors" , LOG_PID | LOG_PERROR ) ; syslog ( LOG_ERR , $text ) ; closelog ( ) ; .... .... } ?>
closelog ( )