You did not indicate that you restarted or signaled syslog - I presume that is still required in opensolaris in order to get syslogd to reread the configuration file. If so and you did not do it, either restart the syslog service or use pkill or kill to send HUP to the syslogd process and see if it works as expected thereafter. This is traditional behavior over decades and is documented on the syslogd man page.

On 01/11/11 09:11, gerard henry wrote:
hello all,
i've a web server on opensolaris b134 with apache and php. In a script,
i need to use syslog to trace what happens in the app.
The following config works well on macosx, not in opensolaris:

<?php
syslog(LOG_DEBUG | LOG_LOCAL2, $GLOBALS['LOG_IDENT'] . ' ' . $log_message);
?>
and in syslog.conf:
daemon.none:local2.debug
/var/log/bmfvca6.log

any idea why it doesn't work in opensolaris? is syslog broken?

thanks in advance for help,

gerard



_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

--
Jerry Sutton    jer...@airmail.net
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to