> I have installed cfingerd, which supposedly logs to local3. I have also
> written a program that logs to local7. Alas, neither program is doing any
> logging. For that matter, auth.* and mail.* don't work either. Here is
> the syslog.conf:
>
> # These entries seem to work fine.
> *.err;kern.notice;auth.notice;user.none /dev/console
> *.err;kern.debug;mail.none;user.none /var/adm/messages
>
> # These entries do not.
> mail.* /var/adm/maillog
> auth.* /var/adm/log/auth.log
>
> # This, however, does work.
> *.debug;mail.none /var/adm/log/debug.log
>
> # And again, this doesn't...
> local3.* /var/adm/log/fingerd.log
> local7.* /var/adm/log/passwrap.log
>
> #EOF
Thanks to all who responded. Most suggested kill -HUPing syslogd, or
killing it and starting it with 'syslogd -d', which will send debug output
to your terminal. A couple pointed out the blindingly obvious answer
(which always require someone else's help to find <g>). You cannot use a *
to denote a level. You can use a * to denote a facility. An example:
# This line is valid, and will log any message of level notice or higher
# from all facilities (mail, local0, etc.)
*.notice /var/log/notice
# This line is NOT valid. To log all levels, use debug, as syslog logs
# all messages of the specified level and above (debug being lowest).
mail.* /var/log/mail
# Do this instead to log everything.
mail.debug /var/log/mail
Yet again the sun-managers list comes through to save my hair. ;)
/*
Scott McDermott - SysAdmin \ "Always make it reversible."
King County Library System \ - A wise SysAdmin
PGP key in the usual places... \
*/