Standardizing on Timezone - samuel-richardson/Sam-Tech-Journal GitHub Wiki
Standardizing Timezone
Configure on Centos 7 and Ubuntu
Edit the /etc/rsyslog.conf
and uncomment and also remove $ if there the below line.
Configure on Rocky Linux
Edit the /etc/rsyslog.conf
and comment the below line.
Test
send a test with logger -t test timeonhost
the output should be accurate and detailed as shown below when checking the log file. Use this method to check each machine.