ntp logging with syslog

Hi!

what's wrong with this settings ?

syslog.conf

Code:
ntp.*                    /var/log/ntpd.log


Code:
--$ ls -alt /var/log/ntpd.log
-rw-r--r--  1 root  wheel  0 Mar 30 13:33 /var/log/ntpd.log

Code:
--$ ps aux | grep [n]tp
root      36373  0.0  0.4  4672  1864  ??  Ss    1:45PM   0:07.21 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift


i'd like to setup syslog to log ntpd, but ntpd.log file is empty. I try to restart syslogd but doesn't works
 
Thanks jalla for advice, i figured out the problem. I used spaces instead tabs as separators in syslog.conf
Now works fine,



also, you probably mean to use logger -p ntp.notice Test ;)
 
sniper007 said:
Thanks jalla for advice, i figured out the problem. I used spaces instead tabs as separators in syslog.conf
Now works fine,



also, you probably mean to use logger -p ntp.notice Test ;)

Exactly.

For the record, space as separator in syslog.conf has been acceptable in FreeBSD for ages.:)
 
jalla said:
Exactly.

For the record, space as separator in syslog.conf has been acceptable in FreeBSD for ages.:)



i also set ntp.* in last line in syslog.conf....this was probably main problem
 
Back
Top