audit_logging: Don't spam the logs if dsdb_event is not found
authorAndreas Schneider <asn@samba.org>
Fri, 11 Oct 2019 06:28:30 +0000 (08:28 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 14 Oct 2019 07:41:51 +0000 (07:41 +0000)
This gets only registered by our tests.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Oct 14 07:41:52 UTC 2019 on sn-devel-184

lib/audit_logging/audit_logging.c

index 7d9c3b838b54a96adc1cb3045a92df5adcebb295..b4fb9116487d6a92cd18bce629dff5864b0daff1 100644 (file)
@@ -170,11 +170,10 @@ static NTSTATUS get_event_server(
                &servers);
 
        if (!NT_STATUS_IS_OK(status)) {
-               DBG_NOTICE(
-                       "Failed to find '%s' registered on the message bus to "
-                       "send JSON audit events to: %s\n",
-                       server_name,
-                       nt_errstr(status));
+               DBG_DEBUG("Failed to find the target '%s' on the message bus "
+                         "to send JSON audit events to: %s\n",
+                         server_name,
+                         nt_errstr(status));
                TALLOC_FREE(frame);
                return status;
        }