Ok..well I am thinking, if I have:
local4.* /var/log/ldap.log
in syslog.conf and I issue:
kill -HUP `cat /var/run/syslog.pid`
Then this command should work:
logger -p local4.info Hello World
and log to /var/run/ldap.log.
When I issue:
logger -p mail.info Hello World
I get "Hello World" in my maillog.
Anyone know why it wouldn't work for local4. This is OBSD 4.1. Thanks
all for your time!
Antoine Jacoutot wrote:
On Thu, 24 May 2007, neustream wrote:
Yes..I forgot to mention I did a:
touch /var/log/ldap.log
Yes but that the _openldap user have write access to the log file?