root@opnsense:/etc # cat rc.confsyslog_ng_enable="YES"syslogd_enable="NO"
Message from syslog-ng327-3.27.1_1:--syslog-ng is now installed! To replace FreeBSD's standard syslogd(/usr/sbin/syslogd), complete these steps:1. Create a configuration file named /usr/local/etc/syslog-ng.conf (a sample named syslog-ng.conf.sample has been included in /usr/local/etc). Note that this is a change in 2.0.2 version, previous ones put the config file in /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update move that file in the right place2. Configure syslog-ng to start automatically by adding the following to /etc/rc.conf: syslog_ng_enable="YES"3. Prevent the standard FreeBSD syslogd from starting automatically by adding a line to the end of your /etc/rc.conf file that reads: syslogd_enable="NO"4. Shut down the standard FreeBSD syslogd: kill `cat /var/run/syslog.pid`5. Start syslog-ng: /usr/local/etc/rc.d/syslog-ng start
root@OPNsense:~ # pkg remove syslog-ng327-3.27.1_1Checking integrity... done (0 conflicting)Deinstallation has been requested for the following 2 packages (of 0 packages in the universe):Installed packages to be REMOVED: syslog-ng327-3.27.1_1 opnsense-20.7Number of packages to be removed: 2The operation will free 25 MiB.Proceed with deinstalling packages? [y/N]: nroot@OPNsense:~ #