Skip to contentSkip to conversation

syslog-ng: change conf files to version 3.19

PATCH New Joe Slater 1 participant 1 message Nov 1, 2019

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 syslog-ng: change conf files to version 3.19

Also add dns_cache(no) option to eliminate initialization warning.

---
 meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd  | 9 +++++++--
 meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)
meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd +7 -2
index 9e910ca..965abf7 100644
@@ -1,11 +1,16 @@
-@version: 3.15
+@version: 3.19
 #
 # Syslog-ng configuration file, compatible with default Debian syslogd
 # installation. Originally written by anonymous (I can't find his name)
 # Revised, and rewrited by me (SZALAY Attila <[email protected]>)
+#
+# Move to 3.19
+#     Only change is to add dns_cache(no) to options to suppress initialization warning.
+#
+#     Joe Slater <[email protected]>
 
 # First, set some global options.
-options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
+options { chain_hostnames(off); flush_lines(0); use_dns(no); dns_cache(no); use_fqdn(no);
 	  owner("root"); group("adm"); perm(0640); stats_freq(0);
 	  bad_hostname("^gconfd$");
 };
meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit +7 -2
index fb183ee..2b39b8c 100644
@@ -1,11 +1,16 @@
-@version: 3.15
+@version: 3.19
 #
 # Syslog-ng configuration file, compatible with default Debian syslogd
 # installation. Originally written by anonymous (I can't find his name)
 # Revised, and rewrited by me (SZALAY Attila <[email protected]>)
+#
+# Move to 3.19
+#     Only change is to add dns_cache(no) to options to suppress initialization warning.
+#
+#     Joe Slater <[email protected]>
 
 # First, set some global options.
-options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
+options { chain_hostnames(off); flush_lines(0); use_dns(no); dns_cache(no); use_fqdn(no);
 	  owner("root"); group("adm"); perm(0640); stats_freq(0);
 	  bad_hostname("^gconfd$");
 };
Signature · 1 line
2.7.4