format and RFC5424:
syslog and security log format
https://www.pcwdld.com/syslog-trap-levels
General info
The facilities local0
to local7
are "custom" unused facilities that syslog provides for the user. If a developer create an application and wants to make it log to syslog, or if you want to redirect the output of anything to syslog (for example, Apache logs), you can choose to send it to any of the local#
facilities. Then, you can use /etc/syslog.conf
(or /etc/rsyslog.conf
) to save the logs being sent to that local#
to a file, or to send it to a remote server.