lcfg-syslog - LCFG syslog component
This component configures and starts the syslogd daemon and starts the klogd daemon. It is normally the first component to be run (as specified in the resource boot.services).
The base syslog.conf configuration file is created from a template that allows for almost complete control of the contents of the configuration file. The contents are controlled via resources described below. The base file generated from the template is passed through m4 when syslog is configured or started. A number of symbols are predefined, but these do not include the LOGHOST variable which is conventionally available.
New rules are added to the syslog.conf file by defining the selector and action fields for the rule (see syslog.conf(5)) and usually also the text of a preceding comment line. The rules are grouped in four sections corresponding to the resources priorities, applications, otherlines and additions.
A list of tags for rules concerning messages of different priority levels to be included in syslog.conf. Default value is the list emerg alert err.
The text for a comment line that precedes the rule for priority tag.
pricomment_emerg defaults to Emergency messages will be displayed using wall.
pricomment_alert defaults to Alert messages will be directed to the operator.
pricomment_err defaults to Errors go to the console.
The selector field of the rule for priority tag.
priselector_emerg defaults to *.emerg.
priselector_alert defaults to *.alert.
priselector_err defaults to *.err.
The action field of the rule for priority tag.
priaction_emerg defaults to *.
priaction_alert defaults to root.
priaction_err defaults to /dev/console.
A list of tags for rules concerning messages from different facilities to be included in syslog.conf. Default value is the list auth authpriv mail local1 local2 local6.
The selector field of the rule for facility tag.
appselector_auth defaults to ifdef(`AUTHDEBUG',auth.debug,auth.info).
appselector_authpriv defaults to ifdef(`AUTHDEBUG',authpriv.debug,authpriv.info).
appselector_mail defaults to ifdef(`MAILDEBUG',mail.debug,mail.info).
appselector_local1 defaults to ifdef(`INETDEBUG',local1.debug,local1.info).
appselector_local2 defaults to ifdef(`XNTPDDEBUG',local2.debug,local2.notice).
appselector_local6 defaults to ifdef(`DNSDEBUG',local6.debug,local6.info).
The action field of the rule for facility tag.
appaction_auth defaults to AUTHLOG().
appaction_authpriv defaults to AUTHLOG().
appaction_mail defaults to MAILLOG().
appaction_local1 defaults to INETLOG().
appaction_local2 defaults to XNTPDLOG().
appaction_local6 defaults to DNSLOG().
A list of tags for miscellaneous other rules. Defaults to local7 general.
The text for a comment line that precedes the rule corresponding to tag.
othcomment_local7 defaults to Messages from init are reported on local7 (as defined by /etc/initlog.conf).
othcomment_general defaults to Other general messages go to the syslog log file.
The selector field of the rule corresponding to tag.
othselector_local7 defaults to local7.info.
othselector_general defaults to *.info;kern.info;auth.none;mail.none;local1.none;local5.none;local6.none;local7.none.
The action field of the rule corresponding to tag.
othaction_local7 defaults to BOOTLOG().
othaction_general defaults to LOGFILE().
A list of tags for additional rules to be added to syslog.conf.
The text for a comment line that precedes the additional rule corresponding to tag to be added to the syslog.conf file.
The selector field of the additional rule corresponding to tag to be added to the syslog.conf file.
The action field of the additional rule corresponding to tag to be added to the syslog.conf file.
The complete additional rule corresponding to tag to be added to the syslog.conf file. This is for backwards compatability with earlier versions of the syslog component.
Options for the syslogd daemon.
Options for the klogd daemon.
Additional definition macros for m4 when generating the syslog.conf file from the base configuration file derived from the template.
This can be used to change the priority level of messages logged for the facilities controlled via the application resource. For example using the default value for appselector_mail one could change the priority level of messages being logged by setting this resource to -DMAILDEBUG.
Fedora3, Fedora5, Fedora6, Scientific5
Stephen Quinney <squinney@inf.ed.ac.uk>, Alastair Scobie <ascobie@inf.ed.ac.uk>