Logs Time Settings - jwells24/Tech-Journal GitHub Wiki

Working on Time Settings with logs

Linux

  • By default, time settings using rsyslog do not give us enough information. In order to rectify this, we need to comment out a line in the /etc/rsyslog.conf file in order to provide accurate timestamping in our logs. This can be done on any system running linux. However, VYOS is one exception because it already provides good timestamping which usually doesn't need to be changed. To re-iterate, we are commenting out this line so it is not active in the file, not bringing the line in, as I misread this initially in lab 3-1. The line we need to comment out is:

  • $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

Windows