Rsyslog

From The Linux Source
Revision as of 14:02, 26 May 2017 by Support (Talk | contribs)

Jump to: navigation, search

PARENT PAGE LINK: Syslog


Docs

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Viewing_and_Managing_Log_Files.html (7.4.x)
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Viewing_and_Managing_Log_Files.html (5.8.x)

Logfile Format

Older Rsyslog versions were not logging in a traditional syslog format, and fields like time & date were not human-readble. To modify its behaviour and make the logs more decipherable, we would add or uncomment the following line (this may be the default on newer Rsyslog versions, but has not been verified)

# Use traditional timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat