summaryrefslogtreecommitdiff
path: root/net-mail/amavis-logwatch/files/ignore-amavis-startup-notifications.patch
blob: 4dd019186e4138d962c025ccf2e6763d4e6cb138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 15bf4096ea496a28210e2f4c1f34ab28b413566a Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com>
Date: Thu, 24 Aug 2017 08:52:18 -0400
Subject: [PATCH 3/4] Ignore amavisd-new "starting child processes"
 notifications.

Newer versions of amavisd-new log the following constantly:

  sd_notify (no socket): STATUS=Starting child process(es), ready for work.

It's of no use to us, so add it to the global "ignore" list.
---
 amavis-logwatch | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/amavis-logwatch b/amavis-logwatch
index 1aab787..06b60c8 100644
--- a/amavis-logwatch
+++ b/amavis-logwatch
@@ -2044,6 +2044,8 @@ sub create_ignore_list() {
         # unanchored
    push @ignore_list_final, qr/\bRUSAGE\b/;
    push @ignore_list_final, qr/: Sending .* to UNIX socket/;
+
+   push @ignore_list_final, qr/sd_notify \(no socket\): STATUS=Starting child process\(es\), ready for work./
 }
 
 # Notes:
-- 
2.13.0