The actual filtering/distribution of messages to log files is defined in syslog /etc/ syslog.conf file. Format of this file and ...
www.softpanorama.org