[SSSD] [PATCH] AD: Change level of debug message

Lukas Slebodnik lslebodn at redhat.com
Mon Nov 10 16:38:09 UTC 2014


ehlo,

I was analysing some log files and I found that message "DNS update finished"
is too verbose. (at least if we want enable levels 0-2 be default in journald)

Simple patch is attched.

LS
-------------- next part --------------
>From 2fc9c24536ba49298c6d72302844da953e8515e3 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Mon, 10 Nov 2014 09:51:48 +0100
Subject: [PATCH] AD: Change level of debug message

The end of dnf update is not an operation failure it is just
a usefull debug message.
---
 src/providers/ad/ad_dyndns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/ad/ad_dyndns.c b/src/providers/ad/ad_dyndns.c
index a99ec5f0dba37c4cb04408e0f64beb9da116c931..aac7d8b0a170e07cba0cd150a6f19c538948d657 100644
--- a/src/providers/ad/ad_dyndns.c
+++ b/src/providers/ad/ad_dyndns.c
@@ -154,7 +154,7 @@ static void ad_dyndns_nsupdate_done(struct tevent_req *req)
         return;
     }
 
-    DEBUG(SSSDBG_OP_FAILURE, "DNS update finished\n");
+    DEBUG(SSSDBG_TRACE_FUNC, "DNS update finished\n");
 }
 
 struct ad_dyndns_update_state {
-- 
2.1.0



More information about the sssd-devel mailing list