From: Andreas Schneider Date: Fri, 11 Oct 2019 06:28:30 +0000 (+0200) Subject: audit_logging: Don't spam the logs if dsdb_event is not found X-Git-Tag: talloc-2.3.1~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c16cc9a7ef3dc50df511d6a39437347ebc36383e;p=thirdparty%2Fsamba.git audit_logging: Don't spam the logs if dsdb_event is not found This gets only registered by our tests. Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Mon Oct 14 07:41:52 UTC 2019 on sn-devel-184 --- diff --git a/lib/audit_logging/audit_logging.c b/lib/audit_logging/audit_logging.c index 7d9c3b838b5..b4fb9116487 100644 --- a/lib/audit_logging/audit_logging.c +++ b/lib/audit_logging/audit_logging.c @@ -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; }