When messages are not being sent or received, add the following macros in /etc/rsyslog.conf to debug rsyslog:
$DebugLevel <level> #1,2,3 can be used
$DebugFile <debug log file path>
To access debug logs, navigate to the file path mentioned in $DebugFile. Debug logs are also available in /var/log/messages.