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

Use :fromhost-ip to separate logs from other hosts

This commit is contained in:
GONG Jie 2015-09-08 15:44:37 +08:00
parent f0ea93b2f8
commit aea4450ffe

View File

@ -1,2 +1,2 @@
$template xCATTraditionalFormat9,"%timegenerated% %HOSTNAME% %syslogtag% %msg:::drop-last-lf%\n"
:hostname, [!]isequal, $myhostname /var/log/xcat/computes.log;xCATTraditionalFormat9
:fromhost-ip, !isequal, "127.0.0.1" /var/log/xcat/computes.log;xCATTraditionalFormat9