A logging facility is like a category used for logging information. The following line of the /etc/rsyslog.conf configuration file defines that all logging information for the local7 facility will be stored in a file called /var/log/cisco.log file:
The value of the logging facility part can be any one of the following: auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, UUCP, local0, local1, local2, local3, local4, local5, local6 and local7.
The next line of code defines the logging facility in logging.c as well as the name of the program that will appear on the relevant log entries:…
