When trying to install the platform patch Layer7_API_PlatformUpdate_64bit_v10.X-CentOS-2020-10-21.L7P on API Gateway 10 you get an error and the patch is not installed .
If you check the log file (/var/log/layer7-patchlog) there is a error :
Thu Apr 8 11:13:59 '2021: ERROR' - The rsyslog configuration file '(/etc/rsyslog.conf)' syntax is not valid. Exiting
Release : 10.0
Component : API GATEWAY
This occurs when a exported configuration is imported in Gateway 10 using the the import configuration wizard which generates a new rsyslog.conf file .
When you import a configuration the wizard creates a new config file which is not valid for the current syslog version .
/sbin/rsyslogd -c3 -f /etc/rsyslog.conf -N 1 shows the problem is in line 61
The problem is the line 61 in my case which looks like
# Everybody gets emergency messages
Comment out the line *.emerg
Verify is the file is valid now with
/sbin/rsyslogd -c3 -f /etc/rsyslog.conf -N 1
rsyslogd: version 8.24.0-57.el7_9, config validation run (level 1), master config /etc/rsyslog.conf
rsyslogd: End of config validation run. Bye.
If so reapply the platform patch
This will be fixed in future release.