Difference between revisions of "Rsyslog"

From The Linux Source
Jump to: navigation, search
m
Line 2: Line 2:
  
  
 +
=== 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)
 
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
 
  # Use traditional timestamp format
 
  $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
 
  $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

Revision as of 14:01, 26 May 2017

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