From 8e1772cc5275e636aec8dc626b2f390dde9fdfa4 Mon Sep 17 00:00:00 2001 From: Mike Blume Date: Wed, 21 Aug 2013 17:03:55 -0700 Subject: [PATCH] lose these example tags --- configure-syslog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure-syslog.py b/configure-syslog.py index 1908524..7d29c23 100644 --- a/configure-syslog.py +++ b/configure-syslog.py @@ -102,7 +102,7 @@ # ------------------------------------------------------- %s template t_LogglyFormat { template("<${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} \ -${PID} ${MSGID} [%s@%s tag=\\"Example1\\"] $MSG\\n");}; +${PID} ${MSGID} [%s@%s] $MSG\\n");}; destination d_loggly {tcp("%s" port(%s) template(t_LogglyFormat));}; log { source(%s); destination(d_loggly); }; # ------------------------------------------------------- @@ -116,7 +116,7 @@ #$template - Define logging format // $template # $template LogglyFormat,"<%%pri%%>%%protocol-version%% %%timestamp:::date-rfc3339%% \ -%%HOSTNAME%% %%app-name%% %%procid%% %%msgid%% [%s@%s tag=\\"Example1\\"] %%msg%%" +%%HOSTNAME%% %%app-name%% %%procid%% %%msgid%% [%s@%s] %%msg%%" # Send messages to syslog server listening on TCP port using template *.* @@%s:%s;LogglyFormat