Syslog Stopped working and not printing the message logs. Error Log Shows the message : imjournal: fscanf on state file imjournal.state
#systemctl status rsyslog.service shows the following error
imjournal: fscanf on state file `/var/lib/rsyslog/imjournal.state’ failed [v8.23.0 try http://www.rsyslog.com/e/2027 ]
File /var/lib/rsyslog/imjournal.state got corrupted due to bad I/O.
Remove /var/lib/rsyslog/imjournal.state file and restart the rsyslog service
#systemctl restart rsyslog.service