Taking another look at this. Sorry if my questions are overly pedantic. I just don't want to break my system.
I have attached the snort log facility options and the tabs in status / system logs / system / general from my system. Presumably they are the same as any other system.
Here is unedited syslog.conf. I can see a rough correspondence between syslog.conf and the tabs.
!radvd,routed,olsrd,zebra,ospfd,bgpd,miniupnpd
*.* %/var/log/routing.log
!ntp,ntpd,ntpdate
*.* %/var/log/ntpd.log
!ppp
*.* %/var/log/ppp.log
!poes
*.* %/var/log/poes.log
!l2tps
*.* %/var/log/l2tps.log
!charon,ipsec_starter
*.* %/var/log/ipsec.log
!openvpn
*.* %/var/log/openvpn.log
!dpinger
*.* %/var/log/gateways.log
!dnsmasq,named,filterdns,unbound
*.* %/var/log/resolver.log
!dhcpd,dhcrelay,dhclient,dhcp6c,dhcpleases,dhcpleases6
*.* %/var/log/dhcpd.log
!relayd
*.* %/var/log/relayd.log
!hostapd
*.* %/var/log/wireless.log
!filterlog
*.* %/var/log/filter.log
!-ntp,ntpd,ntpdate,charon,ipsec_starter,openvpn,poes,l2tps,relayd,hostapd,dnsmasq,named,filterdns,unbound,dhcpd,dhcrelay,dhclient,dhcp6c,dpinger,radvd,routed,olsrd,zebra,ospfd,bgpd,miniupnpd,filterlog
local3.* %/var/log/vpn.log
local4.* %/var/log/portalauth.log
local5.* %/var/log/nginx.log
local7.* %/var/log/dhcpd.log
*.notice;kern.debug;lpr.info;mail.crit;daemon.none;news.err;local0.none;local3.none;local4.none;local7.none;security.*;auth.info;authpriv.info;daemon.info %/var/log/system.log
auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf 15
*.emerg *
Looking at the "local" subsection:
local3.* %/var/log/vpn.log
local4.* %/var/log/portalauth.log
local5.* %/var/log/nginx.log
local7.* %/var/log/dhcpd.log
*.notice;kern.debug;lpr.info;mail.crit;daemon.none;news.err;local0.none;local3.none;local4.none;local7.none;security.*;auth.info;authpriv.info;daemon.info %/var/log/system.log
```I see that local3-7 are used. What is the significance of the entries "local0.none;local3.none;local4.none;local7.none" in the line for %/var/log/system.log? Are they there only in case a specific log file is not specified above? Why are there not entries for local1.none, local2.none, local5.none and local6.none?
If I understand you correctly, to use the facility LOG_LOCAL2 for snort, I would make this change:
local2.* %/var/log/snort.log
If I do this, where will I see the log entries?
Thank you very much.



