NEW QUESTION & SUMMARY: syslog.conf

Cagri Yucel (cyucel@is.ku.edu.tr)
Thu, 26 Jun 1997 11:40:35 +0300 (EET DST)

The new question is for the below message how can I determine what is the
name of the facility and level ?
*.debug logs this message, daemon.debug does not. What I would like to do
is to filter below messages to a seperate file.

>logmsg: pri 24, flags 2, from beta, msg Jun 25 14:38:41
>in.telnetd[23112]: refused connect from xxx.yyy.tr
>Logging to UNUSED

SUMMARY:

My original question was:

>
>I have following line in my /etc/syslog.conf
>* /var/adm/test
>daemon.* /var/adm/test
>user.* /var/adm/test
>
>And when I do syslogd -d I track the message:
>
>logmsg: pri 24, flags 2, from beta, msg Jun 25 14:38:41
>in.telnetd[23112]: refused connect from xxx.yyy.tr
>Logging to UNUSED
>
>to UNUSED, I suppose this means it is discarded.
>Ofcourse /var/adm/test is not even created.
>What can I do to make it Logging to /var/adm/test ?

Summary of answers is as below:

You must create the file beforehand (touch //var/adm/test)
and make sure you use TABS, not spaces.

The wildcard entry is *.debug, not *.

Thanks to all who replied.

-cagri