diff options
author | varac <varacanero@zeromail.org> | 2015-04-26 22:03:31 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-04-26 22:42:12 +0200 |
commit | cdf0b448aa4cdac8eb04f05bdeb1d4bf7630938e (patch) | |
tree | 38400da8a827a1b91dea3e1a3e35f13fbfcdf50e /puppet/modules/leap/templates | |
parent | eaddcfca6761bac329a57a65453958b6741f2420 (diff) |
Use rsyslog traditional timestamp format in custom logfiles #6886
Change-Id: I9e033f63e3b387e95f5bf1c3820e456f740d8180
Diffstat (limited to 'puppet/modules/leap/templates')
-rw-r--r-- | puppet/modules/leap/templates/rsyslog.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/leap/templates/rsyslog.erb b/puppet/modules/leap/templates/rsyslog.erb new file mode 100644 index 00000000..7bb5316f --- /dev/null +++ b/puppet/modules/leap/templates/rsyslog.erb @@ -0,0 +1,5 @@ +if $programname startswith '<%= @process %>' then { + action(type="omfile" file="<%= @logfile %>" template="RSYSLOG_TraditionalFileFormat") + stop +} + |