syslog: using logger (please help test this)
Hi,
I'm simply trying to log a simple message to /var/log/messages
I have *.info going to /var/log/messages in my /etc/syslog.conf file.
when I do
#> logger -p security.info "This message should go to messages log"
Nothing happens.
However,
I do have a script that does this.
#!/bin/bash
tail -f /var/log/radius.log | logger -p security.info &
which works on one machine and not the other. Which is confusing me...logger only works
in a script on one of my machines??? Both are RH9.0
Can anyone try running
#> logger -p security.info "This message should go to messages log"
to see if a message shows up in /var/log/messages
(i prefer RH9.0 but, any dist will do)
Thanks,
|