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

just make these big block quotes #7

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

Always

Just for now

Next

just make these big block quotes

not sure if this is the right thing or not, thoughts?
  • Loading branch information
Mike Blume
Mike Blume committed Aug 21, 2013
commit bee625aa951da999853dc88c5d0430fcd2798195
@@ -102,29 +102,31 @@
configuration_text = {

PROD_SYSLOG_NG:
('# -------------------------------------------------------\n'
'# Syslog Logging Directives for Loggly (%s.loggly.com)\n'
'# -------------------------------------------------------\n'
'%s\n'
'template t_LogglyFormat { template("<${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} '
'${PID} ${MSGID} [%s@%s tag=\\"Example1\\"] $MSG\\n");};\n'
'destination d_loggly {tcp("%s" port(%s) template(t_LogglyFormat));};\n'
'log { source(%s); destination(d_loggly); };\n'
'# -------------------------------------------------------\n'),
'''
# -------------------------------------------------------
# Syslog Logging Directives for Loggly (%s.loggly.com)
# -------------------------------------------------------
%s
template t_LogglyFormat { template("<${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} ${PID} ${MSGID} [%s@%s tag=\\"Example1\\"] $MSG\\n");};
destination d_loggly {tcp("%s" port(%s) template(t_LogglyFormat));};
log { source(%s); destination(d_loggly); };
# -------------------------------------------------------
''',

PROD_RSYSLOG:
('# -------------------------------------------------------\n'
'# Syslog Logging Directives for Loggly (%s.loggly.com)\n'
'# -------------------------------------------------------\n'
'#$template - Define logging format // $template <template_name> '
'<logging_format>'
'#\n'
'$template LogglyFormat,"<%%pri%%>%%protocol-version%% '
'%%timestamp:::date-rfc3339%% %%HOSTNAME%% %%app-name%% '
'%%procid%% %%msgid%% [%s@%s tag=\\"Example1\\"] %%msg%%"\n'
'# Send messages to syslog server listening on TCP port using template\n\n'
'*.* @@%s:%s;LogglyFormat\n\n'
'# -------------------------------------------------------\n')
'''
# -------------------------------------------------------
# Syslog Logging Directives for Loggly (%s.loggly.com)
# -------------------------------------------------------
#$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%%"
# Send messages to syslog server listening on TCP port using template
*.* @@%s:%s;LogglyFormat
# -------------------------------------------------------
'''
}
USER = None
SUBDOMAIN = None
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.