1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 <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
This commit is contained in:
Andreas Schneider 2019-10-11 08:28:30 +02:00 committed by Andreas Schneider
parent 123584294c
commit c16cc9a7ef

View 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;
}