From c16cc9a7ef3dc50df511d6a39437347ebc36383e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 11 Oct 2019 08:28:30 +0200 Subject: [PATCH] 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 --- lib/audit_logging/audit_logging.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; } -- 2.47.3