why I can't get syslog message?

I read Unix network programming by richard,in chap12.3,it say if call syslog() by using parameter LOG_USER,it should write a message in /var/adm/messages in Solaris,such as "connected from 10.1.1.2",example file inet/daytimetcpsrv2.c.I want to know which syslog file in FreeBSD7.0?I look for /var/log/messages,I don't find my message "connected from 10.1.1.2" in this file. Why?

My syslog.conf is follows:

Read the man syslog page to get a better understanding. You should log messages with both a facility (such as LOG_USER) and a level (such as LOG_NOTICE), which you provide as logical OR in the first parameter of the syslog() call. If you do not provide a level the message is ignored and discarded.

You can easily test whether syslogd is functioning properly using the logger command, e.g. logger -p user.notice "Fatal kernel error, the system's going to crash!! (Just kidding)", then check your messages file.