From: Otto Moerbeek Date: Mon, 21 Sep 2020 13:20:35 +0000 (+0200) Subject: Log the line received fomr rec_control X-Git-Tag: auth-4.4.0-alpha1~24^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9493%2Fhead;p=thirdparty%2Fpdns.git Log the line received fomr rec_control This can be handy to see what commands were issued to the recursor when reviewing logs. --- 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