• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Understanding syslog.conf

Helmut

New Member


Messages: 2

#1
Hi,

I want to understand syslog.conf and place files at /etc/syslog.d. The last lines of syslog.conf (11.1-RELEASE) are
Code:
!ppp
*.*                                             /var/log/ppp.log
!*
include                                         /etc/syslog.d
include                                         /usr/local/etc/syslog.d
What does !* mean here? Where is the difference to *.*, e.g. at
Code:
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
#*.*                                            /var/log/all.log
?

Thank you!
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,692

#4
So !* logs all programs
No, !* "resets" the filter.

Code:
A program or hostname specification may be	reset by giving	the program or
     hostname as `*'.