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 0caa9ec8d3
commit 4eac8c698d

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