[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Discard excessive nullmailer logging

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Mon Sep 11 06:45:31 BST 2023



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
5561b91a by Guido Berhoerster at 2023-09-11T05:37:00+00:00
Discard excessive nullmailer logging

Filter out log messages coming from a client running nullmailer since it is
very verbose and can easily fill up the filesystem under /var/log
(Closes: #1003728).

- - - - -


3 changed files:

- Makefile
- cf3/cf.syslog
- + share/debian-edu-config/rsyslog-filters


Changes:

=====================================
Makefile
=====================================
@@ -362,6 +362,7 @@ install: install-testsuite
 	set -e ; for f in \
 		share/debian-edu-config/avahi.smb.service \
 		share/debian-edu-config/rsyslog-collector \
+		share/debian-edu-config/rsyslog-filters \
 		share/debian-edu-config/smb.conf.edu-site \
 		share/debian-edu-config/firefox-networked-prefs.js \
 		share/debian-edu-config/squid.conf \


=====================================
cf3/cf.syslog
=====================================
@@ -20,6 +20,10 @@ files:
     "/etc/rsyslog.d/debian-edu-collector.conf"
       link_from => ln_s("/usr/share/debian-edu-config/rsyslog-collector"),
       move_obstructions => "true";
+
+    "/etc/rsyslog.d/debian-edu-filters.conf"
+      link_from => ln_s("/usr/share/debian-edu-config/rsyslog-filters"),
+      move_obstructions => "true";
 }
 
 bundle agent editline_syslog


=====================================
share/debian-edu-config/rsyslog-filters
=====================================
@@ -0,0 +1,2 @@
+# discard excessive nullmailer logging (#1003728)
+:programname, isequal, "nullmailer-send" stop



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/5561b91a51da5b24bc914167604448e9686aa61c

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/5561b91a51da5b24bc914167604448e9686aa61c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230911/1eaecd4f/attachment-0001.htm>


More information about the debian-edu-commits mailing list