Syslog-ng instructions with upgrade to 20.7.5

Started by gdur, December 08, 2020, 03:59:43 PM

Previous topic - Next topic
Today I performed the upgrade to 20.7.5 and I saw a notification in the log with instructions to perform some action on the configs:
QuoteMessage from syslog-ng-3.29.1_2:

--
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 place

2. 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


/usr/local/etc/syslog-ng.conf.sample is present but dates from 17-11-2020 while the notification suggests that it should have been written only today(???). The header says it's @version:3.29, so not version version:3.29.1_2.
syslog-ng.conf is present as well but dates from 25-11-2020, also version:3.29.

Quoteprevious ones put the config file in  /usr/local/etc/syslog-ng/syslog-ng.conf
but the directory syslog-ng does not exists and thus neither syslog-ng.conf. I only see  /usr/local/etc/syslog-ng.conf.d directory with different content(???).

Quote2. Configure syslog-ng to start automatically by adding the following  to /etc/rc.conf:
No rc.conf in /etc/

So my question is how to deal with this...


Not to worry. The system takes care of anything that is required and these messages come from FreeBSD where this is a manual task.


Cheers,
Franco