From 8a4a4c7b308bd748d4de158e7217e6617560bfc3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Mar 2016 15:01:45 -0300 Subject: Put back log_kernel_msgs variable and update version to 3.5 for wheezy --- templates/syslog-ng.conf_jessie.erb | 2 ++ templates/syslog-ng.conf_wheezy.erb | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/syslog-ng.conf_jessie.erb b/templates/syslog-ng.conf_jessie.erb index 953295d..aea3e1c 100644 --- a/templates/syslog-ng.conf_jessie.erb +++ b/templates/syslog-ng.conf_jessie.erb @@ -25,7 +25,9 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); # Logs may come from unix stream, but not from another machine. # source s_src { +<% if (@log_kernel_msgs == true) -%> system(); +<% end -%> internal(); }; diff --git a/templates/syslog-ng.conf_wheezy.erb b/templates/syslog-ng.conf_wheezy.erb index 9ab9101..1f73cbf 100644 --- a/templates/syslog-ng.conf_wheezy.erb +++ b/templates/syslog-ng.conf_wheezy.erb @@ -1,4 +1,4 @@ -@version: 3.3 +@version: 3.5 @include "scl.conf" @include "`scl-root`/system/tty10.conf" @@ -25,7 +25,9 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); # Logs may come from unix stream, but not from another machine. # source s_src { +<% if (@log_kernel_msgs == true) -%> system(); +<% end -%> internal(); }; -- cgit v1.2.3