aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-04-26 20:16:46 +0800
committerwill <will@FreeBSD.org>2000-04-26 20:16:46 +0800
commitfe44b8a2a8d4e56dd96a31acf9760e70492f7f68 (patch)
tree01263006cfe1e73cc015facfba84506d64d8e066 /sysutils
parentdecb3ed53f5941f0ad4467f6992ca3f13835b873 (diff)
downloadfreebsd-ports-gnome-fe44b8a2a8d4e56dd96a31acf9760e70492f7f68.tar.gz
freebsd-ports-gnome-fe44b8a2a8d4e56dd96a31acf9760e70492f7f68.tar.zst
freebsd-ports-gnome-fe44b8a2a8d4e56dd96a31acf9760e70492f7f68.zip
Fix the sample configuration file so that syslog-ng behaves more like
FreeBSD's syslogd. syslogd logs the specified level and greater; currently syslog-ng only logs at the level specified. PR: 18219 Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/syslog-ng/files/syslog-ng.conf.sample14
-rw-r--r--sysutils/syslog-ng1/files/syslog-ng.conf.sample14
2 files changed, 14 insertions, 14 deletions
diff --git a/sysutils/syslog-ng/files/syslog-ng.conf.sample b/sysutils/syslog-ng/files/syslog-ng.conf.sample
index 317e4b9a28ef..1dabb14889d3 100644
--- a/sysutils/syslog-ng/files/syslog-ng.conf.sample
+++ b/sysutils/syslog-ng/files/syslog-ng.conf.sample
@@ -60,13 +60,13 @@ filter f_local7 { facility(local7); };
# log level filters
#
filter f_emerg { level(emerg); };
-filter f_alert { level(alert); };
-filter f_crit { level(crit); };
-filter f_err { level(err); };
-filter f_warning { level(warning); };
-filter f_notice { level(notice); };
-filter f_info { level(info); };
-filter f_debug { level(debug); };
+filter f_alert { level(alert..emerg); };
+filter f_crit { level(crit..emerg); };
+filter f_err { level(err..emerg); };
+filter f_warning { level(warning..emerg); };
+filter f_notice { level(notice..emerg); };
+filter f_info { level(info..emerg); };
+filter f_debug { level(debug..emerg); };
#
# program filters
diff --git a/sysutils/syslog-ng1/files/syslog-ng.conf.sample b/sysutils/syslog-ng1/files/syslog-ng.conf.sample
index 317e4b9a28ef..1dabb14889d3 100644
--- a/sysutils/syslog-ng1/files/syslog-ng.conf.sample
+++ b/sysutils/syslog-ng1/files/syslog-ng.conf.sample
@@ -60,13 +60,13 @@ filter f_local7 { facility(local7); };
# log level filters
#
filter f_emerg { level(emerg); };
-filter f_alert { level(alert); };
-filter f_crit { level(crit); };
-filter f_err { level(err); };
-filter f_warning { level(warning); };
-filter f_notice { level(notice); };
-filter f_info { level(info); };
-filter f_debug { level(debug); };
+filter f_alert { level(alert..emerg); };
+filter f_crit { level(crit..emerg); };
+filter f_err { level(err..emerg); };
+filter f_warning { level(warning..emerg); };
+filter f_notice { level(notice..emerg); };
+filter f_info { level(info..emerg); };
+filter f_debug { level(debug..emerg); };
#
# program filters