Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lose these example tags #9

Merged
merged 1 commit into from Aug 22, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

lose these example tags

  • Loading branch information
Mike Blume
Mike Blume committed Aug 22, 2013
commit 8e1772cc5275e636aec8dc626b2f390dde9fdfa4
@@ -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_name> <logging_format>
#
$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
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.