-
Notifications
You must be signed in to change notification settings - Fork 0
Lab2.1StandardizingLogTimes
Beth edited this page Jan 29, 2025
·
1 revision
This tech journal entry goes over the settings to change to make log times reflect the time on the device for different operating systems.
The setting to change is located in the file /etc/rsyslog
Locate the module that tells rsyslog to use a certain time format and uncomment (See below for how these modules look)
Then systemctl restart rsyslog and enter a new message for the log
logger -t test [message]- Find the message with
cat /var/log/rsyslog | grep [message]
This is the time module for xubuntu

This is the time module as it appears in CentOS

Not all versions of Nano will have the colored text but this is how the rsyslog configuration file should appear