2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Use :programname as the filter for the logs

This commit is contained in:
GONG Jie 2015-09-08 15:43:57 +08:00
parent bf04dd3a4b
commit f0ea93b2f8

View File

@ -1,2 +1,2 @@
$template xCATTraditionalFormat0,"%timegenerated% %HOSTNAME% %syslogtag% %msg:::drop-last-lf%\n"
:syslogtag, isequal, "xcat" /var/log/xcat/cluster.log;xCATTraditionalFormat0
:programname, isequal, "xcat" /var/log/xcat/cluster.log;xCATTraditionalFormat0