Do not panic-log each clamd connection fail. Bug 392
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 25 Jan 2015 18:48:06 +0000 (18:48 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 25 Jan 2015 18:48:06 +0000 (18:48 +0000)
The panic log line for all servers failed is retained.

src/src/malware.c

index 365ef03503678eafa449aa9e966d422d0da8c264..43f0314942312c110d6cf5aea394ac37e0422f73 100644 (file)
@@ -1360,7 +1360,8 @@ if (!malware_ok)
            break;
            }
 
-         (void) m_errlog_defer(scanent, errstr);
+         log_write(0, LOG_MAIN, "malware acl condition: %s: %s",
+           scanent->name, errstr);
 
          /* Remove the server from the list. XXX We should free the memory */
          num_servers--;