From 9aad5288199288409f2ffe5e0778261856164b0c Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 21 Sep 2020 15:20:35 +0200 Subject: [PATCH] Log the line received fomr rec_control This can be handy to see what commands were issued to the recursor when reviewing logs. --- pdns/pdns_recursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 09663e3f99..2cd4a86dd6 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3628,6 +3628,7 @@ static void handleRCC(int fd, FDMultiplexer::funcparam_t& var) RecursorControlParser rcp; RecursorControlParser::func_t* command; + g_log << Logger::Notice << "Received rec_control command '" << msg << "' from control socket" << endl; string answer=rcp.getAnswer(msg, &command); // If we are inside a chroot, we need to strip -- 2.47.2