This unfortunately is a pretty generic error code which is emitted when there is a problem understanding the configuration files. The main configuration file is usually /etc/rsyslog.conf and it may include other configuration files. The error message names the file and the approximate location of the error.
The error text should describe what needs to be fixed. If that does not help, it may make sense to check out rsyslog support options.