]> gitweb.michael.orlitzky.com - amavis-logwatch.git/blobdiff - amavis-logwatch
Ignore all "sd_notify" lines.
[amavis-logwatch.git] / amavis-logwatch
index 448de3a13344ed03f2723fac44af90e054369504..ffb502bda94271a8763908f7a59f123830d72565 100644 (file)
@@ -2033,6 +2033,7 @@ sub create_ignore_list() {
 
    push @ignore_list_final, qr/^Inserting header field: X-Amavis-Hold: /;
    push @ignore_list_final, qr/^Decoding of .* failed, leaving it unpacked: /;
+   push @ignore_list_final, qr/^File::LibMagic::describe_filename failed on p\d+: /;
 
       # various forms of "Using ..."
       # more specific, interesting variants already captured: search "Using"
@@ -2046,7 +2047,10 @@ sub create_ignore_list() {
    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./
+   # Lines beginning with "sd_notify:" or "sd_notify (no socket):"
+   # describe what is being sent to the systemd notification socket,
+   # if one exists.
+   push @ignore_list_final, qr/^sd_notify( \(no socket\))?:/;
 }
 
 # Notes: